- All Implemented Interfaces:
- BaseFuture, Cancellable
public class FutureChannelCreator
- extends BaseFutureImpl<FutureChannelCreator>
This future is used for the connection reservation. If notifies the user when
a connection could have been reserved.
- Thomas Bocek
|Methods inherited from class net.tomp2p.futures.BaseFutureImpl
addCancellation, addListener, addListener, await, await, awaitListeners, awaitUninterruptibly, awaitUninterruptibly, cancel, getFailedReason, getType, isCompleted, isFailed, isSuccess, notifyListerenrs, removeListener, self, setCompletedAndNotify, setFailed, setFailed, setFailed, setFailed, setFailed
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void reserved(ChannelCreator channelCreator)
- Called if a channel creator could be created. With this channel creator
connections can be created.
channelCreator - The newly created ChannelCreator
public ChannelCreator getChannelCreator()
- The ChannelCreator
Copyright © 2013. All Rights Reserved.