net.tomp2p.futures
Class FutureWrappedBootstrap

java.lang.Object
  extended by net.tomp2p.futures.BaseFutureImpl
      extended by net.tomp2p.futures.FutureWrapper<FutureBootstrap>
          extended by net.tomp2p.futures.FutureWrappedBootstrap
All Implemented Interfaces:
BaseFuture, Cancellable, FutureBootstrap

public class FutureWrappedBootstrap
extends FutureWrapper<FutureBootstrap>
implements FutureBootstrap


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.tomp2p.futures.BaseFuture
BaseFuture.FutureType
 
Field Summary
 
Fields inherited from class net.tomp2p.futures.BaseFutureImpl
completed, lock, reason, type
 
Constructor Summary
FutureWrappedBootstrap()
           
 
Method Summary
 Collection<PeerAddress> getBootstrapTo()
           
 void waitForBootstrap(FutureBootstrap bootstrap, Collection<PeerAddress> bootstrapTo)
           
 void waitForBootstrap(FutureBootstrap bootstrap, PeerAddress bootstrapTo)
           
 
Methods inherited from class net.tomp2p.futures.FutureWrapper
getWrappedFuture, waitFor
 
Methods inherited from class net.tomp2p.futures.BaseFutureImpl
addCancellation, addListener, await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, getFailedReason, getType, isCompleted, isFailed, isSuccess, notifyListerenrs, removeCancellation, removeListener, setCompletedAndNotify, setFailed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.tomp2p.futures.BaseFuture
addCancellation, addListener, await, await, awaitUninterruptibly, awaitUninterruptibly, getFailedReason, getType, isCompleted, isFailed, isSuccess, removeCancellation, removeListener, setFailed
 
Methods inherited from interface net.tomp2p.futures.Cancellable
cancel
 

Constructor Detail

FutureWrappedBootstrap

public FutureWrappedBootstrap()
Method Detail

waitForBootstrap

public void waitForBootstrap(FutureBootstrap bootstrap,
                             PeerAddress bootstrapTo)

waitForBootstrap

public void waitForBootstrap(FutureBootstrap bootstrap,
                             Collection<PeerAddress> bootstrapTo)

getBootstrapTo

public Collection<PeerAddress> getBootstrapTo()
Specified by:
getBootstrapTo in interface FutureBootstrap


Copyright © 2011. All Rights Reserved.