|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PeerDiscovery
A PeerDiscovery object is responsible for finding addresses of other nodes in the Bitcoin P2P network. Note that the addresses returned may or may not be accepting connections.
| Method Summary | |
|---|---|
InetSocketAddress[] |
getPeers(long timeoutValue,
TimeUnit timeoutUnit)
Returns an array of addresses. |
void |
shutdown()
Stops any discovery in progress when we want to shut down quickly. |
| Method Detail |
|---|
InetSocketAddress[] getPeers(long timeoutValue,
TimeUnit timeoutUnit)
throws PeerDiscoveryException
PeerDiscoveryExceptionvoid shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||