com.inspirel.yami
Class OutgoingMessage.MessageStateInfo

java.lang.Object
  extended by com.inspirel.yami.OutgoingMessage.MessageStateInfo
Enclosing class:
OutgoingMessage

public static final class OutgoingMessage.MessageStateInfo
extends java.lang.Object

Helper class for reporting full message state


Field Summary
 byte[] rawReplyBody
          Reply raw binary body (valid only when state is REPLIED and the agent was configured for raw delivery).
 java.lang.String rejectionReason
          Rejection reson (valid only when state is REJECTED)
 Parameters replyBody
          Reply body (valid only when state is REPLIED)
 int sentBytes
          Number of bytes that were transmitted.
 OutgoingMessage.MessageState state
          Current state of the message.
 int totalByteCount
          Total length of the message.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

state

public final OutgoingMessage.MessageState state
Current state of the message.


sentBytes

public final int sentBytes
Number of bytes that were transmitted.


totalByteCount

public final int totalByteCount
Total length of the message.


replyBody

public final Parameters replyBody
Reply body (valid only when state is REPLIED)


rawReplyBody

public final byte[] rawReplyBody
Reply raw binary body (valid only when state is REPLIED and the agent was configured for raw delivery).


rejectionReason

public final java.lang.String rejectionReason
Rejection reson (valid only when state is REJECTED)