| Package | Description |
|---|---|
| net.tomp2p.connection | |
| net.tomp2p.rpc |
| Modifier and Type | Method and Description |
|---|---|
DispatchHandler |
Dispatcher.associatedHandler(Message message)
Checks if we have a handler for the given message.
|
DispatchHandler |
Dispatcher.searchHandler(Number160 recipientID,
Number160 onBehalfOf,
int cmd)
Looks for a registered handler according to the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Number320,DispatchHandler> |
Dispatcher.searchHandler(Integer command)
May take longer..
|
Map<Integer,DispatchHandler> |
Dispatcher.searchHandlerMap(Number160 peerId,
Number160 onBehalfOf) |
| Modifier and Type | Method and Description |
|---|---|
void |
Dispatcher.registerIoHandler(Number160 peerId,
Number160 onBehalfOf,
DispatchHandler ioHandler,
int... names)
Registers a handler with this dispatcher.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AnnounceRPC
This Quit RPC is used to send friendly shutdown messages by peers that are
shutdown regularly.
|
class |
BroadcastRPC |
class |
DirectDataRPC |
class |
NeighborRPC
Handles the neighbor requests and replies.
|
class |
PingRPC
The Ping message handler.
|
class |
QuitRPC
This Quit RPC is used to send friendly shutdown messages by peers that are
shutdown regularly.
|
Copyright © 2014. All rights reserved.