public class TCPRelayClientConfig extends RelayClientConfig
| Constructor and Description |
|---|
TCPRelayClientConfig()
Creates a TCP relay configuration
|
| 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 TCPRelayClientConfig()
public 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.public BaseRelayClient createClient(PeerConnection connection, Peer peer)
RelayClientConfigcreateClient in class RelayClientConfigCopyright © 2015. All rights reserved.