ActorsActorMessage Interface |
Namespace: Akka.FSharp
[Missing <typeparam name="Message"/> documentation for "T:Akka.FSharp.Actors.Actor`1"]
The ActorsActorMessage type exposes the following members.
Name | Description | |
---|---|---|
Context |
Gets the current actor context.
| |
Log |
Lazy logging adapter. It won't be initialized until logging function will be called.
| |
Self |
Gets [IActorRef] for the current actor.
|
Name | Description | |
---|---|---|
ActorOf |
Create new actor as child of this context with the given name, which must
not start with "$". If the given name is already in use,
and InvalidActorNameException is thrown.
See Props for details on how to obtain a Props object.
(Inherited from IActorRefFactory.) | |
ActorSelection(String) |
Construct an ActorSelection from the given path, which is
parsed for wildcards (these are replaced by regular expressions
internally). No attempt is made to verify the existence of any part of
the supplied path, it is recommended to send a message and gather the
replies in order to resolve the matching set of actors.
(Inherited from IActorRefFactory.) | |
ActorSelection(ActorPath) |
Construct an ActorSelection from the given path, which is
parsed for wildcards (these are replaced by regular expressions
internally). No attempt is made to verify the existence of any part of
the supplied path, it is recommended to send a message and gather the
replies in order to resolve the matching set of actors.
(Inherited from IActorRefFactory.) | |
Defer |
Defers provided function to be invoked when actor stops, regardless of reasons.
| |
Receive |
Explicitly retrieves next incoming message from the mailbox.
| |
Sender |
Returns a sender of current message or [ActorRefs.NoSender], if none could be determined.
| |
Stash |
Stashes the current message (the message that the actor received last)
| |
Unhandled |
Explicit signalization of unhandled message.
| |
Unstash |
Unstash the oldest message in the stash and prepends it to the actor's mailbox.
The message is removed from the stash.
| |
UnstashAll |
Unstashes all messages by prepending them to the actor's mailbox.
The stash is guaranteed to be empty afterwards.
| |
Unwatch |
Stops monitoring the subject for termination.
(Inherited from ICanWatch.) | |
Watch |
Monitors the specified actor for termination. When the subject terminates
the instance watching will receive a Terminated message.
(Inherited from ICanWatch.)Remarks Note that if the Terminated message isn't handled by the actor,
by default the actor will crash by throwing a DeathPactException. To change
the default behavior, override Unhandled(Object).
|
Name | Description | |
---|---|---|
ActorOf(ActionIActorDsl, String) | Overloaded.
TBD
(Defined by ActExtensions.) | |
ActorOf(ActionIActorDsl, IActorContext, String) | Overloaded.
TBD
(Defined by ActExtensions.) | |
ActorOfTActor(String) | Overloaded.
TBD
(Defined by ActorRefFactoryExtensions.) | |
ActorSelection |
Construct an ActorSelection from the given string representing a path
relative to the given target. This operation has to create all the
matching magic, so it is preferable to cache its result if the
intention is to send messages frequently.
(Defined by ActorRefFactoryExtensions.) | |
Materializer | Creates a ActorMaterializer which will execute every step of a transformation pipeline within its own ActorBase. The required IActorRefFactory (which can be either an ActorSystem or an IActorContext) will be used to create one actor that in turn creates actors for the transformation steps. The materializer's ActorMaterializerSettings will be obtained from the configuration of the context's underlying ActorSystem. The namePrefix is used as the first part of the names of the actors running the processing steps. The default namePrefix is "flow". The actor names are built up of namePrefix-flowNumber-flowStepNumber-stepName. |