Package org.apache.catalina.tribes.group
Class Response
- java.lang.Object
-
- org.apache.catalina.tribes.group.Response
-
public class Response extends java.lang.ObjectA response object holds a message from a responding partner.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.SerializablegetMessage()Get the message.MembergetSource()Get the source member.voidsetMessage(java.io.Serializable message)Set the message.voidsetSource(Member source)Set the source member.
-
-
-
Constructor Detail
-
Response
public Response()
Default constructor.
-
Response
public Response(Member source, java.io.Serializable message)
Constructor with source and message.- Parameters:
source- The source membermessage- The message
-
-
Method Detail
-
setSource
public void setSource(Member source)
Set the source member.- Parameters:
source- The source member
-
setMessage
public void setMessage(java.io.Serializable message)
Set the message.- Parameters:
message- The message
-
getSource
public Member getSource()
Get the source member.- Returns:
- The source member
-
getMessage
public java.io.Serializable getMessage()
Get the message.- Returns:
- The message
-
-