|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteneter.messaging.endpoints.typedmessages.TypedRequestReceivedEventArgs<TRequestMessage>
TRequestMessage
- type of the request messagepublic final class TypedRequestReceivedEventArgs<TRequestMessage>
Event argument used when the typed message is received.
Constructor Summary | |
---|---|
TypedRequestReceivedEventArgs(java.lang.String responseReceiverId,
java.lang.String senderAddress,
java.lang.Exception error)
Constructs the message from the exception. |
|
TypedRequestReceivedEventArgs(java.lang.String responseReceiverId,
java.lang.String senderAddress,
TRequestMessage requestMessage)
Constructs the event. |
Method Summary | |
---|---|
java.lang.Exception |
getReceivingError()
Returns the error detected during receiving of the message. |
TRequestMessage |
getRequestMessage()
Returns the received message. |
java.lang.String |
getResponseReceiverId()
Returns the client identifier where the response can be sent. |
java.lang.String |
getSenderAddress()
Returns the address where the sender of the request message is located. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypedRequestReceivedEventArgs(java.lang.String responseReceiverId, java.lang.String senderAddress, TRequestMessage requestMessage)
responseReceiverId
- identifies the client where the response can be sentsenderAddress
- address of the message sender. It is null if not applicable for the messaging system.requestMessage
- messagepublic TypedRequestReceivedEventArgs(java.lang.String responseReceiverId, java.lang.String senderAddress, java.lang.Exception error)
responseReceiverId
- identifies the client where the response can be sentsenderAddress
- address of the message sender. It is null if not applicable for the messaging system.error
- error detected during receiving the messageMethod Detail |
---|
public TRequestMessage getRequestMessage()
public java.lang.String getResponseReceiverId()
public java.lang.String getSenderAddress()
public java.lang.Exception getReceivingError()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |