TResponseMessage - message typepublic final class TypedResponseReceivedEventArgs<TResponseMessage>
extends java.lang.Object
| Constructor and Description |
|---|
TypedResponseReceivedEventArgs(java.lang.Exception error)
Constructs the event from the exception detected during receiving the response message.
|
TypedResponseReceivedEventArgs(TResponseMessage responseMessage)
Constructs the event.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Exception |
getReceivingError()
Returns an exception detected during receiving the response message.
|
TResponseMessage |
getResponseMessage()
Returns the message.
|
public TypedResponseReceivedEventArgs(TResponseMessage responseMessage)
responseMessage - response messagepublic TypedResponseReceivedEventArgs(java.lang.Exception error)
error - public TResponseMessage getResponseMessage()
public java.lang.Exception getReceivingError()