net.tomp2p.futures
Class FutureDiscover

java.lang.Object
  extended by net.tomp2p.futures.BaseFutureImpl
      extended by net.tomp2p.futures.FutureDiscover
All Implemented Interfaces:
BaseFuture, Cancellable

public class FutureDiscover
extends BaseFutureImpl


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.tomp2p.futures.BaseFuture
BaseFuture.FutureType
 
Field Summary
 
Fields inherited from class net.tomp2p.futures.BaseFutureImpl
completed, lock, reason, type
 
Constructor Summary
FutureDiscover(int delaySec)
           
 
Method Summary
 void cancel()
           
 void done(PeerAddress peerAddress)
           
 PeerAddress getPeerAddress()
           
 boolean getPrivateTCP()
           
 boolean getPrivateUPD()
           
 boolean isTCPOngoing()
           
 boolean isUDPOngoing()
           
 void onGoing(boolean onGoingUDP, boolean onGoingTCP)
           
 void setPrivateUPD(boolean privateUDP)
           
 
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
 

Constructor Detail

FutureDiscover

public FutureDiscover(int delaySec)
Method Detail

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.