| Package | Description |
|---|---|
| net.tomp2p.futures |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BaseFuture
Represents the result of an asynchronous operation.
|
interface |
FutureBootstrap
Used for bootstrapping.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseFutureImpl<K extends BaseFuture>
The base for all BaseFuture implementations.
|
class |
FutureAnnounce |
class |
FutureAsyncTask
A future to keep track of a future task.
|
class |
FutureChannelCreator
This future is used for the connection reservation.
|
class |
FutureDirect |
class |
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.
|
class |
FutureDone<K>
A generic future that can be used to set a future to complete with an attachment.
|
class |
FutureForkJoin<K extends BaseFuture>
The key future for recursive loops.
|
class |
FutureLateJoin<K extends BaseFuture>
FutureLateJoin is similar to FutureForkJoin.
|
class |
FutureLaterJoin<K extends BaseFuture>
FutureLaterJoin is similar to FutureLateJoin.
|
class |
FuturePeerConnection |
class |
FuturePing |
class |
FutureProgres<K>
A generic future that can be used to set a future to complete with an attachement.
|
class |
FutureResponse
Each response has one request messages.
|
class |
FutureRouting
The routing future keeps track of the routing process.
|
class |
FutureShutdown |
class |
FutureTask
This future keeps track of one or more tasks send to remote peers.
|
class |
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.
|
class |
FutureWrapper<K extends BaseFuture>
Wraps a future into an other future.
|
class |
FutureWrapper2<K extends BaseFuture,J extends BaseFuture>
Wraps a future into an other future.
|
| Modifier and Type | Method and Description |
|---|---|
BaseFuture |
BaseFuture.addCancel(Cancel cancel)
Adds a cancel listener to this future, which is called when cancel is executed.
|
K |
BaseFutureImpl.addCancel(Cancel cancelListener) |
BaseFuture |
BaseFuture.removeCancel(Cancel cancel)
Removes a cancel listener to this future.
|
K |
BaseFutureImpl.removeCancel(Cancel cancelListener) |
Copyright © 2014. All rights reserved.