public class QuitRPC extends ReplyHandler
| Constructor and Description |
|---|
QuitRPC(PeerBean peerBean,
ConnectionBean connectionBean) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkMessage(Message message)
Before a reply can be done, the message needs to be checked.
|
Message |
handleResponse(Message message)
If the message is OK, that has been previously checked by the user using
checkMessage, a reply to the message is generated here.
|
FutureResponse |
quit(PeerAddress remoteNode) |
createMessage, exceptionCaught, forwardMessage, isSign, registerIoHandler, setSignbindRequested, channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, handleDownstream, handleUpstream, messageReceived, setInterestOpsRequested, unbindRequested, writeComplete, writeRequestedpublic QuitRPC(PeerBean peerBean, ConnectionBean connectionBean)
public FutureResponse quit(PeerAddress remoteNode)
public boolean checkMessage(Message message)
ReplyHandlercheckMessage in class ReplyHandlermessage - Request messagepublic Message handleResponse(Message message) throws Exception
ReplyHandlerhandleResponse in class ReplyHandlermessage - Request messageExceptionCopyright © 2011. All Rights Reserved.