Click or drag to resize
IActorContext Methods

The IActorContext type exposes the following members.

Methods
  NameDescription
Public methodActorOf
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. @throws akka.actor.InvalidActorNameException if the given name is invalid or already in use @throws akka.ConfigurationException if deployment, dispatcher or mailbox configuration is wrong
(Inherited from ActorRefFactory.)
Public methodActorSelection(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 ActorRefFactory.)
Public methodActorSelection(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 ActorRefFactory.)
Public methodBecome
Public methodChild
Public methodGetChildren
Public methodSetReceiveTimeout

Defines the inactivity timeout after which the sending of a ReceiveTimeout message is triggered. When specified, the receive function should be able to handle a ReceiveTimeout message.

Please note that the receive timeout might fire and enqueue the ReceiveTimeout message right after another message was enqueued; hence it is not guaranteed that upon reception of the receive timeout there must have been an idle period beforehand as configured via this method.

Once set, the receive timeout stays in effect (i.e. continues firing repeatedly after inactivity periods). Pass in null to switch off this feature.

Public methodStop
Public methodUnbecome
Public methodUnwatch (Inherited from ICanWatch.)
Public methodWatch (Inherited from ICanWatch.)
Top
Extension Methods
See Also