|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NIOSocketListener
Call backs for an NIO Socket
| Method Summary | |
|---|---|
INode |
getLocalNode()
Get the node id for the local machine, or null if the remote node is not yet known. |
INode |
getRemoteNode(java.nio.channels.SocketChannel channel)
Get the remote node id for this channel, or null if the remote node id is not yet known. |
void |
messageReceived(MessageHeader message,
java.nio.channels.SocketChannel channel)
|
void |
socketError(java.nio.channels.SocketChannel channel,
java.lang.Exception error)
An error occured on the channel and it was shut down. |
void |
socketUnqaurantined(java.nio.channels.SocketChannel channel,
QuarantineConversation conversation)
This connection will leave quarantine. |
| Method Detail |
|---|
void socketUnqaurantined(java.nio.channels.SocketChannel channel,
QuarantineConversation conversation)
void socketError(java.nio.channels.SocketChannel channel,
java.lang.Exception error)
void messageReceived(MessageHeader message,
java.nio.channels.SocketChannel channel)
INode getRemoteNode(java.nio.channels.SocketChannel channel)
INode getLocalNode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||