Class ResponseMessage
- java.lang.Object
-
- co.paralleluniverse.actors.behaviors.ActorMessage
-
- co.paralleluniverse.actors.behaviors.ResponseMessage
-
- All Implemented Interfaces:
IdMessage
,java.io.Serializable
- Direct Known Subclasses:
ErrorResponseMessage
,ValueResponseMessage
public abstract class ResponseMessage extends ActorMessage implements IdMessage
A message type used as a superclass by responses toRequestMessage
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResponseMessage(java.lang.Object id)
Constructs aResponseMessage
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
contentString()
java.lang.Object
getId()
Theid
of theRequestMessage
this is a response to.-
Methods inherited from class co.paralleluniverse.actors.behaviors.ActorMessage
toString
-
-
-
-
Constructor Detail
-
ResponseMessage
@ConstructorParameters("id") public ResponseMessage(java.lang.Object id)
Constructs aResponseMessage
.- Parameters:
id
- theid
of theRequestMessage
this is a response to.
-
-
Method Detail
-
getId
public java.lang.Object getId()
Theid
of theRequestMessage
this is a response to.
-
contentString
protected java.lang.String contentString()
- Overrides:
contentString
in classActorMessage
-
-