| Package | Description |
|---|---|
| net.tomp2p.connection | |
| net.tomp2p.message | |
| net.tomp2p.p2p | |
| net.tomp2p.rpc |
| Modifier and Type | Method and Description |
|---|---|
void |
DispatcherRequest.registerIoHandler(PeerAddress sender,
ReplyHandler ioHandler,
Message.Command... names)
Registers a handler with this dispatcher.
|
| Modifier and Type | Method and Description |
|---|---|
Message.Command |
Message.getCommand()
Command of the message, such as GET, PING, etc.
|
static Message.Command |
Message.Command.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Command[] |
Message.Command.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
Message.setCommand(Message.Command command)
Command of the message, such as GET, PING, etc.
|
| Modifier and Type | Method and Description |
|---|---|
FutureRouting |
Routing.route(Number160 locationKey,
Number160 domainKey,
Collection<Number160> contentKeys,
Message.Command command,
int maxDirectHits,
int maxNoNewInfo,
int maxFailures,
int parallel,
boolean isDigest)
Looks for a route to the given locationKey
|
| Modifier and Type | Method and Description |
|---|---|
FutureResponse |
NeighborRPC.closeNeighbors(PeerAddress remoteNode,
Number160 locationKey,
Number160 domainKey,
Collection<Number160> contentKeys,
Message.Command command,
boolean isDigest,
boolean forceSocket) |
Message |
ReplyHandler.createMessage(PeerAddress recipient,
Message.Command name,
Message.Type type) |
protected void |
ReplyHandler.registerIoHandler(Message.Command... names) |
Copyright © 2011. All Rights Reserved.