net.tomp2p.futures
Class FutureSuccessEvaluatorOperation
java.lang.Object
net.tomp2p.futures.FutureSuccessEvaluatorOperation
- All Implemented Interfaces:
- FutureSuccessEvaluator
public class FutureSuccessEvaluatorOperation
- extends Object
- implements FutureSuccessEvaluator
The operation future success evaluator returns OK if the operation was successful, otherwise it returns FAILED. This
evaluation does care if e.g. an object was not found on an other peer. If an other evaluation scheme is necessary,
provide your own.
- Author:
- Thomas Bocek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FutureSuccessEvaluatorOperation
public FutureSuccessEvaluatorOperation()
evaluate
public BaseFuture.FutureType evaluate(Message requestMessage,
Message responseMessage)
- Specified by:
evaluate
in interface FutureSuccessEvaluator
Copyright © 2013. All Rights Reserved.