Class FallbackMessageStream

  extended by
      extended by
          extended by
All Implemented Interfaces:

public class FallbackMessageStream
extends NullMessageStream

Base ActorStream implementation using introspection and @Message annotations to simplify Actor development.

Message Handling

To handle a message, create a method with the proper signature for the expected payload type and annotate it with @Message. To send a response message or query, use getBrokerStream() or getClient().

Constructor Summary
FallbackMessageStream(MessageStream actorStream)
FallbackMessageStream(java.lang.String address, Broker broker, java.lang.Class<?> actorClass)
Method Summary
 java.lang.String toString()
Methods inherited from class
getAddress, getBroker, setAddress, setBroker
Methods inherited from class
isClosed, message, messageError, query, queryError, queryResult
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public FallbackMessageStream(java.lang.String address,
                             Broker broker,
                             java.lang.Class<?> actorClass)


public FallbackMessageStream(MessageStream actorStream)
Method Detail


public java.lang.String toString()
toString in class AbstractMessageStream