net.tomp2p.futures
Class FutureDiscover
java.lang.Object
net.tomp2p.futures.BaseFutureImpl
net.tomp2p.futures.FutureDiscover
- All Implemented Interfaces:
- BaseFuture, Cancellable
public class FutureDiscover
- extends BaseFutureImpl
| Methods inherited from class net.tomp2p.futures.BaseFutureImpl |
addCancellation, addListener, await, await, awaitUninterruptibly, awaitUninterruptibly, 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 |
FutureDiscover
public FutureDiscover(int delaySec)
cancel
public void cancel()
- Specified by:
cancel in interface Cancellable- Overrides:
cancel in class BaseFutureImpl
setPrivateUPD
public void setPrivateUPD(boolean privateUDP)
getPrivateUPD
public boolean getPrivateUPD()
getPrivateTCP
public boolean getPrivateTCP()
onGoing
public void onGoing(boolean onGoingUDP,
boolean onGoingTCP)
done
public void done(PeerAddress peerAddress)
isUDPOngoing
public boolean isUDPOngoing()
isTCPOngoing
public boolean isTCPOngoing()
getPeerAddress
public PeerAddress getPeerAddress()
Copyright © 2011. All Rights Reserved.