public final class Response<RSP,EXC extends Throwable> extends Command
Command.
This is layer 1.Request,
Serialized Form| Modifier and Type | Method and Description |
|---|---|
EXC |
getException()
Gets the exception thrown by the response.
|
Request<?,?> |
getRequest()
Obtains the matching request.
|
RSP |
getReturnValue()
Gets the return value of the response.
|
long |
getTotalTime()
Gets the total time taken on the local side to send the request and receive the response.
|
String |
toString()
Should provide concise information useful for
Channel.Listener. |
getCreationStackTrace, readFrompublic String toString()
CommandChannel.Listener.@CheckForNull public Request<?,?> getRequest()
@Nullable public RSP getReturnValue()
getException() is non-null@Nullable public EXC getException()
getReturnValue() is non-nullpublic long getTotalTime()
Copyright © 2004–2018. All rights reserved.