| Constructor and Description |
|---|
RelayBuilder(RelayPeer relayPeer) |
| Modifier and Type | Method and Description |
|---|---|
RelayBuilder |
bootstrapAddress(PeerAddress bootrapAddress)
Sets the bootstrap address.
|
RelayBuilder |
bootstrapBuilder(BootstrapBuilder bootstrapBuilder)
Specify a bootstrap builder that will be used to bootstrap during the
process of setting up relay peers and after that.
|
RelayBuilder |
bootstrapInetAddress(InetAddress bootstrapInetAddress)
Set a bootstrap address for setting up the relay peers.
|
RelayBuilder |
ports(int port)
Sets the ports of the bootstrap peer.
|
RelayFuture |
start()
Start setting up the relay peers
|
public RelayBuilder(RelayPeer relayPeer)
public RelayBuilder bootstrapAddress(PeerAddress bootrapAddress)
bootstrapBuilder(BootstrapBuilder)bootrapAddress - PeerAddress of any peer in the network.public RelayBuilder bootstrapInetAddress(InetAddress bootstrapInetAddress)
ports(int) a default port is used.bootstrapInetAddress - The bootstrap addresspublic RelayBuilder ports(int port)
bootstrapBuilder(BootstrapBuilder)port - The port of the bootstrap peerpublic RelayBuilder bootstrapBuilder(BootstrapBuilder bootstrapBuilder)
bootstrapBuilder - The bootstrap builderpublic RelayFuture start()
Copyright © 2014. All rights reserved.