Props Class |
private Props props = Props.Empty(); private Props props = Props.Create(() => new MyActor(arg1, arg2)); private Props otherProps = props.WithDispatcher("dispatcher-id"); private Props otherProps = props.WithDeploy(deployment info);
Namespace: Akka.Actor
The Props type exposes the following members.
Name | Description | |||
---|---|---|---|---|
Props |
Initializes a new instance of the Props class.
| |||
Props(Type) |
Initializes a new instance of the Props class.
| |||
Props(Props) |
Initializes a new instance of the Props class.
| |||
Props(Type, Object) |
Initializes a new instance of the Props class.
| |||
Props(Type, SupervisorStrategy, IEnumerableObject) |
Initializes a new instance of the Props class.
| |||
Props(Type, SupervisorStrategy, Object) |
Initializes a new instance of the Props class.
| |||
Props(Deploy, Type, IEnumerableObject) |
Initializes a new instance of the Props class.
| |||
Props(Deploy, Type, Object) |
Initializes a new instance of the Props class.
|
Name | Description | |
---|---|---|
Arguments |
The arguments needed to create the actor.
| |
Deploy |
The configuration used to deploy the actor.
| |
Dispatcher |
The dispatcher used in the deployment of the actor.
| |
Empty |
A pre-configured Props that creates an actor that doesn't respond to messages.
| |
Mailbox |
The mailbox used in the deployment of the actor.
| |
RouterConfig |
The router used in the deployment of the actor.
| |
SupervisorStrategy |
The supervisor strategy used to manage the actor.
| |
Type |
The type of the actor that is created.
| |
TypeName |
The assembly qualified name of the type of the actor that is created.
|
Name | Description | |||
---|---|---|---|---|
Copy |
Creates a copy of the current instance.
| |||
Create(Type, Object) |
Creates an actor of a specified type.
| |||
CreateTActor(Object) |
Creates an actor using the given arguments.
| |||
CreateTActor(SupervisorStrategy) |
Creates an actor using a specified supervisor strategy.
| |||
CreateTActor(ExpressionFuncTActor, SupervisorStrategy) |
Creates an actor using a specified lambda expression.
| |||
CreateByTProducer |
Creates an actor using a specified actor producer.
| |||
Equals(Object) | Determines whether the specified object is equal to the current object. (Overrides ObjectEquals(Object).) | |||
Equals(Props) |
Indicates whether the current object is equal to another object of the same type.
| |||
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |||
GetHashCode | Serves as the default hash function. (Overrides ObjectGetHashCode.) | |||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |||
NewActor |
Creates a new actor using the configured actor producer.
Remarks
This method is only useful when called during actor creation by the ActorSystem.
| |||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |||
ToSurrogate |
Creates a surrogate representation of the current Props.
| |||
WithDeploy |
Creates a new Props with a given deployment configuration.
| |||
WithDispatcher |
Creates a new Props with a given dispatcher.
| |||
WithMailbox |
Creates a new Props with a given mailbox.
| |||
WithRouter |
Creates a new Props with a given router.
| |||
WithSupervisorStrategy |
Creates a new Props with a given supervisor strategy.
|
Name | Description | |||
---|---|---|---|---|
None |
A pre-configured Props that doesn't create actors.
|
Name | Description | |
---|---|---|
AsInstanceOfT |
TBD
(Defined by Extensions.) | |
Match | Overloaded.
Matches the specified target.
(Defined by PatternMatch.) | |
MatchT | Overloaded.
Matches the specified target and return a result of target processing.
(Defined by PatternMatch.) |