| Package | Description |
|---|---|
| net.tomp2p.connection | |
| net.tomp2p.peers | |
| net.tomp2p.rpc |
| Modifier and Type | Method and Description |
|---|---|
List<PeerStatusListener> |
PeerBean.peerStatusListeners() |
| Modifier and Type | Method and Description |
|---|---|
PeerBean |
PeerBean.addPeerStatusListener(PeerStatusListener peerStatusListener) |
PeerBean |
PeerBean.removePeerStatusListener(PeerStatusListener peerStatusListener) |
| Constructor and Description |
|---|
ChannelServer(io.netty.channel.EventLoopGroup bossGroup,
io.netty.channel.EventLoopGroup workerGroup,
ChannelServerConfiguration channelServerConfiguration,
Dispatcher dispatcher,
List<PeerStatusListener> peerStatusListeners,
ScheduledExecutorService timer)
Sets parameters and starts network device discovery.
|
Sender(Number160 peerId,
List<PeerStatusListener> peerStatusListeners,
ChannelClientConfiguration channelClientConfiguration,
Dispatcher dispatcher,
SendBehavior sendBehavior,
PeerBean peerBean)
Creates a new sender with the listeners for offline peers.
|
TimeoutFactory(FutureResponse futureResponse,
int timeoutSeconds,
List<PeerStatusListener> peerStatusListeners,
String name) |
| Modifier and Type | Class and Description |
|---|---|
class |
LocalMap |
class |
PeerMap
This routing implementation uses is based on Kademlia.
|
| Modifier and Type | Method and Description |
|---|---|
QuitRPC |
QuitRPC.addPeerStatusListener(PeerStatusListener listener)
Add a peer status listener that gets notified when a peer is offline.
|
Copyright © 2014. All rights reserved.