Package net.tomp2p.futures

Interface Summary
BaseFuture Represents the result of an asynchronous operation.
BaseFutureListener<F extends BaseFuture> Something interested in being notified when the result of an BaseFuture becomes available.
Cancellable A cancelable class should implement this method use use it for future objects.
FutureBootstrap Used for bootstrapping.
FutureCleanup Some futures have a longer life span than others.
FutureCreate<K extends BaseFuture> DHT and Tracker operations may occur repeatedly.
FutureCreator<K extends BaseFuture> For direct replication, the DHT needs to be created repeatedly.
FutureRunnable A future runnable is used for running futures in the background (in a different thread)
FutureSuccessEvaluator  
 

Class Summary
BaseFutureAdapter<F extends BaseFuture> The BaseFuture always completes either successfully or failed.
BaseFutureImpl<K extends BaseFuture> The base for all BaseFuture implementations.
FutureAsyncTask A future to keep track of a future task.
FutureChannel Keeps track of the creation of a UDP or TCP channel.
FutureChannelCreator This future is used for the connection reservation.
FutureDHT The future object for the get() and put() operations including routing.
FutureDiscover The future that keeps track of network discovery such as discovery if its behind a NAT, the status if UPNP or NAT-PMP could be established, if there is portforwarding.
FutureForkJoin<K extends BaseFuture> The key future for recursive loops.
FutureLateJoin<K extends BaseFuture> FutureLateJoin is similar to FutureForkJoin.
FutureLaterJoin<K extends BaseFuture> FutureLaterJoin is similar to FutureLateJoin.
FutureResponse Each response has one request messages.
FutureRouting The routing future keeps track of the routing process.
FutureSuccessEvaluatorCommunication The communication future success evaluator returns OK if the communication was successful, otherwise it returns FAILED.
FutureSuccessEvaluatorOperation The operation future success evaluator returns OK if the operation was successful, otherwise it returns FAILED.
FutureTask This future keeps track of one or more tasks send to remote peers.
FutureTracker This class holds the object for future results from the tracker get() and add().
FutureWrappedBootstrap<K extends BaseFuture> The bootstrap will be a wrapped future, because we need to ping a server first, and if this ping is successful, we can bootstrap.
FutureWrapper<K extends BaseFuture> Wraps a future into an other future.
 

Enum Summary
BaseFuture.FutureType The first state is always INIT and will always end in either OK, FAILED, or CANCEl
 



Copyright © 2013. All Rights Reserved.