| Package | Description |
|---|---|
| net.tomp2p.connection | |
| net.tomp2p.message | |
| net.tomp2p.p2p | |
| net.tomp2p.rpc |
| Modifier and Type | Method and Description |
|---|---|
void |
Responder.failed(Message.Type type,
String reason) |
| Modifier and Type | Method and Description |
|---|---|
Message.Type |
Message.type()
Determines if its a request or command reply, and what kind of reply (error, warning states).
|
static Message.Type |
Message.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Type[] |
Message.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Message.isError(Message.Type type) |
Message |
Message.type(Message.Type type)
Set the message type.
|
| Modifier and Type | Method and Description |
|---|---|
FutureRouting |
DistributedRouting.route(RoutingBuilder routingBuilder,
Message.Type type,
ChannelCreator cc)
Looks for a route to the given locationKey.
|
| Modifier and Type | Method and Description |
|---|---|
FutureResponse |
NeighborRPC.closeNeighbors(PeerAddress remotePeer,
NeighborRPC.SearchValues searchValues,
Message.Type type,
ChannelCreator channelCreator,
ConnectionConfiguration configuration)
Requests close neighbors from the remote peer.
|
Message |
DispatchHandler.createMessage(PeerAddress recipient,
byte name,
Message.Type type)
Create a request message and fills it with connection bean and peer bean parameters.
|
Message |
DispatchHandler.createResponseMessage(Message requestMessage,
Message.Type replyType)
Create a response message and fills it with connection bean and peer bean parameters.
|
static Message |
DispatchHandler.createResponseMessage(Message requestMessage,
Message.Type replyType,
PeerAddress peerAddress) |
Copyright © 2014. All rights reserved.