|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use FutureResponse | |
|---|---|
| net.tomp2p.connection | |
| net.tomp2p.futures | |
| net.tomp2p.p2p | |
| net.tomp2p.rpc | |
| Uses of FutureResponse in net.tomp2p.connection |
|---|
| Methods in net.tomp2p.connection with parameters of type FutureResponse | |
|---|---|
org.jboss.netty.channel.ChannelFuture |
ChannelCreator.createTCPChannel(ReplyTimeoutHandler timeoutHandler,
RequestHandlerTCP<? extends BaseFuture> requestHandler,
FutureResponse futureResponse,
int connectTimeoutMillis,
InetSocketAddress recipient)
Creates a TCP channel future. |
org.jboss.netty.channel.Channel |
ChannelCreator.createUDPChannel(ReplyTimeoutHandler timeoutHandler,
RequestHandlerUDP requestHandler,
FutureResponse futureResponse,
boolean broadcast)
Creates a UDP channel. |
void |
Sender.sendBroadcastUDP(RequestHandlerUDP handler,
FutureResponse futureResponse,
Message message,
ChannelCreator channelCreator)
Sent the message via UDP broadcast. |
void |
Sender.sendTCP(RequestHandlerTCP<? extends BaseFuture> handler,
FutureResponse futureResponse,
Message message,
ChannelCreator channelCreator,
int idleTCPMillis)
Sent the message via TCP. |
void |
Sender.sendUDP(RequestHandlerUDP handler,
FutureResponse futureResponse,
Message message,
ChannelCreator channelCreator)
Sent the message via UDP. |
| Uses of FutureResponse in net.tomp2p.futures |
|---|
| Subclasses of FutureResponse in net.tomp2p.futures | |
|---|---|
class |
FutureData
FutureData is used as the future object for direct DHT operations. |
| Methods in net.tomp2p.futures that return types with arguments of type FutureResponse | |
|---|---|
FutureForkJoin<FutureResponse> |
FutureDHT.getFutureRequests()
Returns back those futures that are still running. |
| Methods in net.tomp2p.futures with parameters of type FutureResponse | |
|---|---|
void |
FutureDHT.addRequests(FutureResponse futureResponse)
Adds all requests that have been created for the DHT operations. |
| Uses of FutureResponse in net.tomp2p.p2p |
|---|
| Methods in net.tomp2p.p2p that return FutureResponse | |
|---|---|
FutureResponse |
DistributedHashHashMap.Operation.create(PeerAddress address)
|
FutureResponse |
DistributedTracker.Operation.create(PeerAddress address,
boolean primary)
|
FutureResponse |
Peer.ping(InetSocketAddress address)
|
| Methods in net.tomp2p.p2p that return types with arguments of type FutureResponse | |
|---|---|
FutureLateJoin<FutureResponse> |
DistributedTracker.startPeerExchange(Number160 locationKey,
Number160 domainKey,
FutureChannelCreator futureChannelCreator,
ConnectionReservation connectionReservation)
|
| Methods in net.tomp2p.p2p with parameters of type FutureResponse | |
|---|---|
void |
DistributedHashHashMap.Operation.interMediateResponse(FutureResponse futureResponse)
|
| Uses of FutureResponse in net.tomp2p.rpc |
|---|
| Classes in net.tomp2p.rpc with type parameters of type FutureResponse | |
|---|---|
class |
RequestHandlerTCP<K extends FutureResponse>
Is able to send TCP messages (as a request) and processes incoming replies. |
| Methods in net.tomp2p.rpc that return FutureResponse | |
|---|---|
FutureResponse |
StorageRPC.add(PeerAddress remoteNode,
Number160 locationKey,
Number160 domainKey,
Collection<Data> dataSet,
boolean protectDomain,
boolean signMessage,
ChannelCreator channelCreator)
|
FutureResponse |
TrackerRPC.addToTracker(PeerAddress remoteNode,
Number160 locationKey,
Number160 domainKey,
byte[] attachement,
boolean signMessage,
boolean primary,
Set<Number160> knownPeers,
ChannelCreator channelCreator)
|
FutureResponse |
TrackerRPC.addToTracker(PeerAddress remoteNode,
Number160 locationKey,
Number160 domainKey,
byte[] attachement,
int offset,
int legth,
boolean signMessage,
boolean primary,
Set<Number160> knownPeers,
ChannelCreator channelCreator)
|
FutureResponse |
NeighborRPC.closeNeighbors(PeerAddress remoteNode,
Number160 locationKey,
Number160 domainKey,
Collection<Number160> contentKeys,
Message.Command command,
boolean isDigest,
boolean forceSocket,
ChannelCreator channelCreator)
|
FutureResponse |
StorageRPC.compareAndPut(PeerAddress remotePeer,
Number160 locationKey,
Number160 domainKey,
Map<Number160,HashData> hashDataMap,
boolean protectDomain,
boolean protectEntry,
boolean signMessage,
boolean partialPut,
ChannelCreator channelCreator)
Compares and puts data on a peer. |
FutureResponse |
RequestHandlerUDP.fireAndForgetUDP(ChannelCreator channelCreator)
|
FutureResponse |
HandshakeRPC.fireTCP(PeerAddress remoteNode,
ChannelCreator channelCreator)
|
FutureResponse |
HandshakeRPC.fireUDP(PeerAddress remoteNode,
ChannelCreator channelCreator)
|
FutureResponse |
StorageRPC.get(PeerAddress remoteNode,
Number160 locationKey,
Number160 domainKey,
Collection<Number160> contentKeys,
PublicKey protectedDomains,
boolean signMessage,
boolean digest,
ChannelCreator channelCreator)
Starts an RPC to get the data from a remote peer. |
FutureResponse |
TrackerRPC.getFromTracker(PeerAddress remoteNode,
Number160 locationKey,
Number160 domainKey,
boolean expectAttachement,
boolean signMessage,
Set<Number160> knownPeers,
ChannelCreator channelCreator)
|
FutureResponse |
RequestHandlerUDP.getFutureResponse()
|
FutureResponse |
PeerExchangeRPC.peerExchange(PeerAddress remoteNode,
Number160 locationKey,
Number160 domainKey,
boolean isReplication,
ChannelCreator channelCreator)
|
FutureResponse |
HandshakeRPC.pingBroadcastUDP(PeerAddress remoteNode,
ChannelCreator channelCreator)
|
FutureResponse |
HandshakeRPC.pingTCP(PeerAddress remoteNode,
ChannelCreator channelCreator)
|
FutureResponse |
HandshakeRPC.pingTCPDiscover(PeerAddress remoteNode,
ChannelCreator channelCreator)
|
FutureResponse |
HandshakeRPC.pingTCPProbe(PeerAddress remoteNode,
ChannelCreator channelCreator)
|
FutureResponse |
HandshakeRPC.pingUDP(PeerAddress remoteNode,
ChannelCreator channelCreator)
|
FutureResponse |
HandshakeRPC.pingUDPDiscover(PeerAddress remoteNode,
ChannelCreator channelCreator)
|
FutureResponse |
HandshakeRPC.pingUDPProbe(PeerAddress remoteNode,
ChannelCreator channelCreator)
|
FutureResponse |
StorageRPC.put(PeerAddress remoteNode,
Number160 locationKey,
Number160 domainKey,
Map<Number160,Data> dataMap,
boolean protectDomain,
boolean protectEntry,
boolean signMessage,
ChannelCreator channelCreator)
|
FutureResponse |
StorageRPC.putIfAbsent(PeerAddress remoteNode,
Number160 locationKey,
Number160 domainKey,
Map<Number160,Data> dataMap,
boolean protectDomain,
boolean protectEntry,
boolean signMessage,
ChannelCreator channelCreator)
|
FutureResponse |
QuitRPC.quit(PeerAddress remoteNode,
ChannelCreator channelCreator)
|
FutureResponse |
StorageRPC.remove(PeerAddress remoteNode,
Number160 locationKey,
Number160 domainKey,
Collection<Number160> contentKeys,
boolean sendBackResults,
boolean signMessage,
ChannelCreator channelCreator)
|
FutureResponse |
RequestHandlerUDP.sendBroadcastUDP(ChannelCreator channelCreator)
|
FutureResponse |
RequestHandlerUDP.sendUDP(ChannelCreator channelCreator)
|
| Methods in net.tomp2p.rpc with parameters of type FutureResponse | |
|---|---|
static boolean |
TrackerRPC.isPrimary(FutureResponse response)
|
static boolean |
TrackerRPC.isSecondary(FutureResponse response)
|
| Constructors in net.tomp2p.rpc with parameters of type FutureResponse | |
|---|---|
RequestHandlerUDP(FutureResponse futureResponse,
PeerBean peerBean,
ConnectionBean connectionBean,
Message message)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||