net.tomp2p.futures
Interface FutureBootstrap
- All Superinterfaces:
- BaseFuture, Cancellable
- All Known Implementing Classes:
- FutureWrappedBootstrap
public interface FutureBootstrap
- extends BaseFuture
Used for bootstrapping. One important information in bootstrapping is to get
the nodes that we bootstrapped to. We may not know this in advance as we
might bootstrap via broadcast.
- Author:
- Thomas Bocek
Methods inherited from interface net.tomp2p.futures.BaseFuture |
addCancellation, addListener, await, await, awaitUninterruptibly, awaitUninterruptibly, getFailedReason, getType, isCompleted, isFailed, isSuccess, removeCancellation, removeListener, setFailed, setFailed |
getBootstrapTo
Collection<PeerAddress> getBootstrapTo()
- Returns the Peers we bootstrapped in no particular order.
- Returns:
- the peers we bootstrapped to.
Copyright © 2012. All Rights Reserved.