net.tomp2p.futures
Interface BaseFutureListener<F extends BaseFuture>
- Type Parameters:
F -
- All Known Implementing Classes:
- BaseFutureAdapter
public interface BaseFutureListener<F extends BaseFuture>
Something interested in being notified when the result of an
BaseFuture becomes available.
- Author:
- draft
operationComplete
void operationComplete(F future)
throws Exception
- Invoked when the operation associated with the
BaseFuture has
been completed. If a operation already completed, then this method is not
invoked.
- Parameters:
future - The future operation
- Throws:
Exception
exceptionCaught
void exceptionCaught(Throwable t)
throws Exception
- Throws:
Exception
Copyright © 2011. All Rights Reserved.