public interface Connection
Generally, nodes send messages by delivering them to Connections.
Modifier and Type | Interface and Description |
---|---|
static class |
Connection.ConnectionListener
Internal listener class definition
|
Modifier and Type | Method and Description |
---|---|
void |
put(Message msg,
Connection sender)
Put a message to this connection.
|
void |
registerStartNotification(Connection.ConnectionListener c)
Register to be informed when this connection is ready
to accept messages.
|
void put(Message msg, Connection sender)
sender
- Node that is sending the message, used
for tracking, logging, etc.
(This models a two-ended connection to whatever
communications link is used)void registerStartNotification(Connection.ConnectionListener c)
Information on copyright, trademarks and licenses is linked here.
Site hosted by: