abstract class CommandResultBaseCallback<T> extends ResponseCallback
Modifier and Type | Field and Description |
---|---|
private Decoder<T> |
decoder |
static Logger |
LOGGER |
Constructor and Description |
---|
CommandResultBaseCallback(Decoder<T> decoder,
long requestId,
ServerAddress serverAddress) |
Modifier and Type | Method and Description |
---|---|
protected void |
callCallback(ResponseBuffers responseBuffers,
java.lang.Throwable t) |
protected abstract void |
callCallback(T response,
java.lang.Throwable t) |
getRequestId, getServerAddress, onResult
CommandResultBaseCallback(Decoder<T> decoder, long requestId, ServerAddress serverAddress)
protected void callCallback(ResponseBuffers responseBuffers, java.lang.Throwable t)
callCallback
in class ResponseCallback
protected abstract void callCallback(T response, java.lang.Throwable t)