dguitar.adaptors.song.impl
Class SongDeviceImpl

java.lang.Object
  extended bydguitar.adaptors.song.impl.SongDeviceImpl
All Implemented Interfaces:
SongDevice

public class SongDeviceImpl
extends java.lang.Object
implements SongDevice

The MIDI implementation of a SongDevice.

Author:
crnash

Field Summary
(package private)  int channel
           
(package private)  int port
           
 
Constructor Summary
SongDeviceImpl(int port, int channel)
           
 
Method Summary
 int getChannel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

port

int port

channel

int channel
Constructor Detail

SongDeviceImpl

public SongDeviceImpl(int port,
                      int channel)
Parameters:
port -
channel -
Method Detail

getChannel

public int getChannel()
Returns:
an integer thar represent the channel