Package co.paralleluniverse.actors.behaviors
Standard behavior actors (Server, EventSource, Supervisor)
- 
Interface Summary Interface Description ErrorMessage An actor message signifying some errorEventHandler<Event> A handler that can be registered with anEventSourceactor to receive all eventssentto the actor.FromMessage An actor message that identifies its senderIdMessage An actor message with a unique (or unique with a high probability) ID (usually generated byActorUtil.randtag()orRequestReplyHelper.makeId()).Initializer A delegate object that can be used instead of subclassingBehaviorActorand overriding its methods.ServerHandler<CallMessage,V,CastMessage> A delegate object that can be used instead of subclassingServerActorand overriding its methods.
- 
Class Summary Class Description AbstractServerHandler<CallMessage,V,CastMessage> A convenience class implementing theServerHandlerinterface.ActorMessage A class extended by all standard actor messages in this package.Behavior A general behavior-actor interfaceBehaviorActor A general behavior-actor class, extended by all behaviors.ErrorResponseMessage A simple subclass ofResponseMessagethat represents an error in processing the request.EventSource<Event> An interface to anEventSourceActor.EventSourceActor<Event> A behavior actor that can be notified of *event* messages, which are delivered to *event handlers* which may be registered with the actor.FiniteStateMachineActor Abehaviorimplementing a finite-state-machine.MessageSelector<M1,M2> A fluent interface for creatingMessageProcessors that select messages matching a few simple criteria.ProxyServerActor Wraps a Java object in aServerActorthat exposes the object's methods as an interface and processes them in an actor (on a dedicated strand).ProxyServerActor.Invocation RequestMessage<V> A message that contains a sender reference (thefromproperty} and a unique identifier (theidproperty) and may be used as a request byRequestReplyHelper.call().RequestReplyHelper This class contains static methods that implement a request-reply pattern with actors.ResponseMessage A message type used as a superclass by responses toRequestMessage.Server<CallMessage,V,CastMessage> An interface to aServerActor.ServerActor<CallMessage,V,CastMessage> Abehaviorimplementing a server that responds to request messages.Supervisor An interface to aSupervisorActor.Supervisor.ChildSpec Describes a child actor's configuration in a supervisorSupervisorActor An actor that supervises, and if necessary, restarts other actors.ValueResponseMessage<V> A simple subclass ofResponseMessagethat encapsulates a single response value.
- 
Enum Summary Enum Description Supervisor.ChildMode Determines whether a child (supervised) actor should be restarted if the supervisor'srestart strategystates that it should be restarted.SupervisorActor.RestartStrategy Specifies a supervisor's strategy in the event a child dies.
- 
Exception Summary Exception Description SupervisorException