public class BufferedTCPRelayClientConfig extends RelayClientConfig
| Constructor and Description |
|---|
BufferedTCPRelayClientConfig() |
| Modifier and Type | Method and Description |
|---|---|
BaseRelayClient |
createClient(PeerConnection connection,
Peer peer)
Creates a client object
|
void |
prepareMapUpdateMessage(Message message)
Gives the opportunity to add more data to the map update message.
|
void |
prepareSetupMessage(Message message)
Gives the opportunity to add more data to the setup message which is sent from the unreachable peer to
the relay peer.
|
addManualRelay, failedRelayWaitTime, failedRelayWaitTime, manualRelays, manualRelays, maxFail, maxFail, peerMapUpdateInterval, peerMapUpdateInterval, toString, typepublic BaseRelayClient createClient(PeerConnection connection, Peer peer)
RelayClientConfigcreateClient in class RelayClientConfigpublic void prepareSetupMessage(Message message)
RelayClientConfigprepareSetupMessage in class RelayClientConfigmessage - the message that is sent to the relay peer.public void prepareMapUpdateMessage(Message message)
RelayClientConfigprepareMapUpdateMessage in class RelayClientConfigmessage - the message which is regularly sent to the relay peer to update the routing table.Copyright © 2015. All rights reserved.