|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.client.lightweight.LightweightConnector.ClientChannelImpl
static final class LightweightConnector.ClientChannelImpl
Simple, private implementation of ClientChannel.
| Constructor Summary | |
|---|---|
LightweightConnector.ClientChannelImpl(String name,
byte[] id,
LightweightClient client)
|
|
| Method Summary | |
|---|---|
String |
getName()
Returns the name of this channel. |
void |
send(ByteBuffer message)
Sends the message contained in the specified ByteBuffer
to all channel members, including the sender. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
LightweightConnector.ClientChannelImpl(String name,
byte[] id,
LightweightClient client)
| Method Detail |
|---|
public String getName()
ClientChannel
getName in interface ClientChannel
public void send(ByteBuffer message)
throws IOException
ClientChannelByteBuffer
to all channel members, including the sender. The message starts at
the buffer's current position and ends at the buffer's limit.
The buffer's position is not modified by this operation.
The server-side application associated with this client may alter the message being sent, or may discard the message for application-specific reasons. In the latter case, there will be no notification of the message being sent.
The ByteBuffer may be reused immediately after this method
returns. Changes made to the buffer after this method returns will
have no effect on the message sent to the channel by this invocation.
send in interface ClientChannelmessage - a message to send
IOException - if a synchronous I/O problem occurs
|
Project Darkstar, Version 0.9.8-SNAPSHOT 2013-07-29 20:21:26 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||