| Package | Description |
|---|---|
| net.tomp2p.connection | |
| net.tomp2p.p2p | |
| net.tomp2p.rpc |
| Modifier and Type | Method and Description |
|---|---|
ConnectionBean |
PeerCreator.connectionBean() |
ConnectionBean |
RequestHandler.connectionBean() |
| Constructor and Description |
|---|
RequestHandler(K futureResponse,
PeerBean peerBean,
ConnectionBean connectionBean,
ConnectionConfiguration configuration)
Create a request handler that can send UDP messages.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionBean |
Peer.connectionBean() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionBean |
DispatchHandler.connectionBean() |
| Constructor and Description |
|---|
AnnounceRPC(PeerBean peerBean,
ConnectionBean connectionBean)
Constructor that registers this RPC with the message handler.
|
BroadcastRPC(PeerBean peerBean,
ConnectionBean connectionBean,
BroadcastHandler broadcastHandler) |
DirectDataRPC(PeerBean peerBean,
ConnectionBean connectionBean) |
DispatchHandler(PeerBean peerBean,
ConnectionBean connectionBean)
Creates a handler with a connection and peer bean.
|
NeighborRPC(PeerBean peerBean,
ConnectionBean connectionBean) |
NeighborRPC(PeerBean peerBean,
ConnectionBean connectionBean,
boolean register)
Setup the RPC and register for incoming messages.
|
PingRPC(PeerBean peerBean,
ConnectionBean connectionBean)
Creates an new handshake RPC with listeners.
|
QuitRPC(PeerBean peerBean,
ConnectionBean connectionBean)
Constructor that registers this RPC with the message handler.
|
Copyright © 2014. All rights reserved.