Package org.apache.catalina.ha.tcp
Class SendMessageData
- java.lang.Object
-
- org.apache.catalina.ha.tcp.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 MembergetDestination()Returns the destination of the message.java.lang.ExceptiongetException()Returns the exception that occurred when attempting to send the message.java.lang.ObjectgetMessage()Returns the message that was sent.
-
-
-
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 senddestination- Member destinationexception- 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
-
-