Package org.km3net.clb.remote.msg
Interface ResponseHandler<T>
-
- Type Parameters:
T
- The type of the response
- All Known Implementing Classes:
CmdSystem.PersistentLogLines
,ResponseQueue
public interface ResponseHandler<T>
Allows for asynchronous handling of responses. One can add a response handler to a Response object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
responseException(Response<T> r, java.lang.Exception e)
Invoked when a command resulted in an exception.void
responseValue(Response<T> r, T value)
Invoked when a response arrives.
-