net.tomp2p.futures
Interface Cancellable

All Known Subinterfaces:
BaseFuture, FutureBootstrap
All Known Implementing Classes:
BaseFutureImpl, FutureChannelCreator, FutureData, FutureDHT, FutureDiscover, FutureForkJoin, FutureLateJoin, FutureLaterJoin, FutureMap, FutureMapReduce, FutureReduce, FutureResponse, FutureRouting, FutureTracker, FutureWrappedBootstrap, FutureWrapper, ReplyTimeoutHandler

public interface Cancellable

A cancelable class should implement this method use use it for future objects.

Author:
Thomas Bocek

Method Summary
 void cancel()
          This method gets called if a future is cancelled.
 

Method Detail

cancel

void cancel()
This method gets called if a future is cancelled.



Copyright © 2012. All Rights Reserved.