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.
FutureRunnable A future runnable is used for running futures in the background (in a different thread)
 

Class Summary
BaseFutureAdapter<F extends BaseFuture> The BaseFuture always completes either successfully or failed.
BaseFutureImpl The base for all BaseFuture implementations.
FutureChannelCreator This future is used for the connection reservation.
FutureData FutureData is used as the future object for direct DHT operations.
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.
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 © 2012. All Rights Reserved.