private class InternalStreamConnection.MessageHeaderCallback extends java.lang.Object implements SingleResultCallback<ByteBuf>
| Modifier and Type | Class and Description |
|---|---|
private class |
InternalStreamConnection.MessageHeaderCallback.MessageCallback |
| Modifier and Type | Field and Description |
|---|---|
private SingleResultCallback<ResponseBuffers> |
callback |
| Constructor and Description |
|---|
MessageHeaderCallback(SingleResultCallback<ResponseBuffers> callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
onResult(ByteBuf result,
java.lang.Throwable t)
Called when the operation completes.
|
private final SingleResultCallback<ResponseBuffers> callback
MessageHeaderCallback(SingleResultCallback<ResponseBuffers> callback)
public void onResult(ByteBuf result, java.lang.Throwable t)
SingleResultCallbackonResult in interface SingleResultCallback<ByteBuf>result - the result, which may be null. Always null if e is not null.t - the throwable, or null if the operation completed normally