Package | Description |
---|---|
net.tomp2p.message | |
net.tomp2p.p2p | |
net.tomp2p.rpc |
Modifier and Type | Method and Description |
---|---|
Message.Type |
Message.getType()
Determines if its a request oCommandr 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.setType(Message.Type type)
Set the message type.
|
Modifier and Type | Method and Description |
---|---|
FutureRouting |
DistributedRouting.route(Number160 locationKey,
Number160 domainKey,
Collection<Number160> contentKeys,
Message.Type type,
int maxDirectHits,
int maxNoNewInfo,
int maxFailures,
int maxSuccess,
int parallel,
boolean forceTCP,
ChannelCreator cc)
Looks for a route to the given locationKey
|
Modifier and Type | Method and Description |
---|---|
Message.Type |
CacheKey.getType() |
Modifier and Type | Method and Description |
---|---|
FutureResponse |
NeighborRPC.closeNeighbors(PeerAddress remotePeer,
Number160 locationKey,
Number160 domainKey,
Collection<Number160> contentKeys,
Message.Type type,
ChannelCreator channelCreator,
boolean forceTCP)
Requests close neighbors from the remote peer.
|
Message |
ReplyHandler.createMessage(PeerAddress recipient,
Message.Command name,
Message.Type type) |
Message |
ReplyHandler.createResponseMessage(Message message,
Message.Type type) |
Constructor and Description |
---|
CacheKey(PeerAddress remotePeer,
Message.Type type,
boolean signMessage) |
Copyright © 2013. All Rights Reserved.