Class SendMessageData


  • public class SendMessageData
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SendMessageData​(java.lang.Object message, Member destination, java.lang.Exception exception)
      Data about a message send operation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Member getDestination()
      Returns the destination of the message.
      java.lang.Exception getException()
      Returns the exception that occurred when attempting to send the message.
      java.lang.Object getMessage()
      Returns the message that was sent.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SendMessageData

        public SendMessageData​(java.lang.Object message,
                               Member destination,
                               java.lang.Exception exception)
        Data about a message send operation.
        Parameters:
        message - The message to send
        destination - Member destination
        exception - Associated error
    • Method Detail

      • getDestination

        public Member getDestination()
        Returns the destination of the message.
        Returns:
        the destination
      • getException

        public java.lang.Exception getException()
        Returns the exception that occurred when attempting to send the message.
        Returns:
        the exception
      • getMessage

        public java.lang.Object getMessage()
        Returns the message that was sent.
        Returns:
        the message