public class RequestHandlerTCP extends Object
| Constructor and Description |
|---|
RequestHandlerTCP(FutureResponse futureResponse,
PeerBean peerBean,
ConnectionBean connectionBean,
Message message) |
RequestHandlerTCP(PeerBean peerBean,
ConnectionBean connectionBean,
Message message) |
| Modifier and Type | Method and Description |
|---|---|
FutureResponse |
fireAndForgetTCP() |
FutureResponse |
getFutureResponse() |
protected PeerMap |
getPeerMap() |
void |
messageReceived(Message message) |
FutureResponse |
sendTCP() |
FutureResponse |
sendTCP(String channelName) |
public RequestHandlerTCP(PeerBean peerBean, ConnectionBean connectionBean, Message message)
public RequestHandlerTCP(FutureResponse futureResponse, PeerBean peerBean, ConnectionBean connectionBean, Message message)
objectHolder - the bean representing the node this handler belongs
topublic FutureResponse getFutureResponse()
public FutureResponse sendTCP()
public FutureResponse sendTCP(String channelName)
public FutureResponse fireAndForgetTCP()
protected PeerMap getPeerMap()
public void messageReceived(Message message) throws PeerException
PeerExceptionCopyright © 2011. All Rights Reserved.