Interface ActorSystemMessage
public interface ActorSystemMessage
This interface aims to provide the same information
Classes implementing this interface should not be annotation with
Message does. The point here is to
allow thinner clients to interface with actor system without having to create classes for each
message type.
Classes implementing this interface should not be annotation with
Message
If it is, the values provided by the Message annotation will take precedence over the
ones provided by the object.-
Method Summary
Modifier and TypeMethodDescriptionbyte[]The serialized payload data.Since Elastic Actors currently deserializes messages based on their class, this method should return the name of the class which the payload represents on the receiving end.default intEquivalent toMessage.timeout()default booleanEquivalent toMessage.durable()
-
Method Details
-
isDurable
default boolean isDurable()Equivalent toMessage.durable() -
getTimeout
default int getTimeout()Equivalent toMessage.timeout() -
getPayloadClass
String getPayloadClass()Since Elastic Actors currently deserializes messages based on their class, this method should return the name of the class which the payload represents on the receiving end. -
getPayload
byte[] getPayload()The serialized payload data.
-