Package | Description |
---|---|
net.tomp2p.connection | |
net.tomp2p.message | |
net.tomp2p.rpc |
Modifier and Type | Method and Description |
---|---|
void |
DispatcherReply.registerIoHandler(Number160 localPeerId,
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 |
---|---|
Message |
ReplyHandler.createMessage(PeerAddress recipient,
Message.Command name,
Message.Type type) |
protected void |
ReplyHandler.registerIoHandler(Message.Command... names) |
Copyright © 2013. All Rights Reserved.