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

Nested Class Summary
 
Nested classes/interfaces inherited from interface net.tomp2p.futures.BaseFuture
BaseFuture.FutureType
 
Method Summary
 Collection<PeerAddress> getBootstrapTo()
          Returns the Peers we bootstrapped in no particular order.
 
Methods inherited from interface net.tomp2p.futures.BaseFuture
addCancellation, addListener, addListener, await, await, awaitListeners, awaitUninterruptibly, awaitUninterruptibly, getFailedReason, getType, isCompleted, isFailed, isSuccess, removeListener, setFailed, setFailed, setFailed, setFailed, setFailed
 
Methods inherited from interface net.tomp2p.futures.Cancellable
cancel
 

Method Detail

getBootstrapTo

Collection<PeerAddress> getBootstrapTo()
Returns the Peers we bootstrapped in no particular order.

Returns:
the peers we bootstrapped to.


Copyright © 2013. All Rights Reserved.