| Package | Description |
|---|---|
| net.tomp2p.connection | |
| net.tomp2p.p2p |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultSendBehavior
Default sending behavior for UDP and TCP messages.
|
| Constructor and Description |
|---|
PeerCreator(int p2pId,
Number160 peerId,
KeyPair keyPair,
ChannelServerConfiguration channelServerConfiguration,
ChannelClientConfiguration channelClientConfiguration,
ScheduledExecutorService timer,
SendBehavior sendBehavior)
Creates a master peer and starts UPD and TCP channels.
|
Sender(Number160 peerId,
List<PeerStatusListener> peerStatusListeners,
ChannelClientConfiguration channelClientConfiguration,
Dispatcher dispatcher,
SendBehavior sendBehavior,
PeerBean peerBean)
Creates a new sender with the listeners for offline peers.
|
| Modifier and Type | Method and Description |
|---|---|
SendBehavior |
PeerBuilder.sendBehavior() |
| Modifier and Type | Method and Description |
|---|---|
PeerBuilder |
PeerBuilder.sendBehavior(SendBehavior sendBehavior)
Set the send behavior.
|
Copyright © 2014. All rights reserved.