class CommandResultCallback<T> extends CommandResultBaseCallback<BsonDocument>
| Modifier and Type | Field and Description |
|---|---|
private SingleResultCallback<T> |
callback |
private Decoder<T> |
decoder |
static Logger |
LOGGER |
| Constructor and Description |
|---|
CommandResultCallback(SingleResultCallback<T> callback,
Decoder<T> decoder,
long requestId,
ServerAddress serverAddress) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
callCallback(BsonDocument response,
java.lang.Throwable t) |
callCallbackgetRequestId, getServerAddress, onResultpublic static final Logger LOGGER
private final SingleResultCallback<T> callback
CommandResultCallback(SingleResultCallback<T> callback, Decoder<T> decoder, long requestId, ServerAddress serverAddress)
protected void callCallback(BsonDocument response, java.lang.Throwable t)
callCallback in class CommandResultBaseCallback<BsonDocument>