|
2008-07-29 1.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTraceConnection
org.eclipse.soda.dk.multiplex.connection.TraceMultiplexConnection
public class TraceMultiplexConnection
| Constructor Summary | |
|---|---|
TraceMultiplexConnection(ConnectionService connection)
Constructs an instance of this class from the specified channel service parameter. |
|
| Method Summary | |
|---|---|
ChannelService |
getChannel(java.lang.String channelId)
Get channel with the specified channel id parameter and return the ChannelService result. |
java.util.Map |
getChannels()
Gets the channels (Map) value. |
MultiplexConnectionListener |
getConnectionListener()
Gets the channel listener value. |
MultiplexConnectionService |
getMultiplexConnectionService()
Gets the channel service value. |
ChannelService |
openChannel(java.lang.String channelSpec)
Open channel with the specified channel spec parameter and return the ChannelService result. |
void |
processEvents()
|
int |
read(ChannelService channel,
byte[] bytes)
|
int |
read(ChannelService channel,
byte[] bytes,
int offset,
int length)
|
void |
setConnectionListener(MultiplexConnectionListener listener)
Sets the channel listener value. |
void |
write(ChannelService channel,
byte[] bytes)
|
void |
write(ChannelService channel,
byte[] bytes,
int offset,
int count)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TraceMultiplexConnection(ConnectionService connection)
ConnectionService)
parameter.
connection - The channel service (MultiplexConnectionService) parameter.| Method Detail |
|---|
public ChannelService getChannel(java.lang.String channelId)
channelId - The channel id (String) parameter.
ChannelService) value.#getDefaultChannel(),
openChannel(String)public java.util.Map getChannels()
Map) value.public MultiplexConnectionListener getConnectionListener()
MultiplexConnectionListener) value.setConnectionListener(MultiplexConnectionListener)public MultiplexConnectionService getMultiplexConnectionService()
MultiplexConnectionService)
value.
public ChannelService openChannel(java.lang.String channelSpec)
throws java.io.IOException
channelSpec - The channel spec (String) parameter.
ChannelService) value.
java.io.IOException - IOException.getChannel(String),
#getDefaultChannel()
public int read(ChannelService channel,
byte[] bytes)
throws java.io.IOException
channel - The channel (ChannelService) parameter.bytes - The bytes (byte[]) parameter.
int) value.
java.io.IOException - IOException.read(ChannelService,byte[],int,int)
public int read(ChannelService channel,
byte[] bytes,
int offset,
int length)
throws java.io.IOException
channel - The channel (ChannelService) parameter.bytes - The bytes (byte[]) parameter.offset - The offset (int) parameter.length - The length (int) parameter.
int) value.
java.io.IOException - IOException.read(ChannelService,byte[])public void setConnectionListener(MultiplexConnectionListener listener)
listener - The listener (MultiplexConnectionListener) parameter.getConnectionListener()
public void write(ChannelService channel,
byte[] bytes)
throws java.io.IOException
channel - The channel (ChannelService) parameter.bytes - The bytes (byte[]) parameter.
java.io.IOException - IOException.write(ChannelService,byte[],int,int)
public void write(ChannelService channel,
byte[] bytes,
int offset,
int count)
throws java.io.IOException
channel - The channel (ChannelService) parameter.bytes - The bytes (byte[]) parameter.offset - The offset (int) parameter.count - The count (int) parameter.
java.io.IOException - IOException.write(ChannelService,byte[])
public void processEvents()
throws java.lang.Exception
java.lang.Exception
|
2008-07-29 1.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||