Class ActorSelectionRoutee
Inheritance
ActorSelectionRoutee
Assembly: Akka.dll
Syntax
public class ActorSelectionRoutee : Routee
Constructors
|
Edit this page
View Source
ActorSelectionRoutee(ActorSelection)
Declaration
public ActorSelectionRoutee(ActorSelection actor)
Parameters
Properties
|
Edit this page
View Source
Selection
Declaration
public ActorSelection Selection { get; }
Property Value
Methods
|
Edit this page
View Source
Ask(object, TimeSpan?)
Ask a routee for a reply message in response to an input.
Declaration
public override Task<object> Ask(object message, TimeSpan? timeout)
Parameters
Type |
Name |
Description |
object |
message |
The message to send.
|
TimeSpan? |
timeout |
Optional timeout parameter. If the parameter is provided
and the operation times out, will throw an AskTimeoutException.
|
Returns
Type |
Description |
Task<object> |
A Task containing the response object.
|
Overrides
|
Edit this page
View Source
Equals(ActorSelectionRoutee)
Declaration
protected bool Equals(ActorSelectionRoutee other)
Parameters
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
Send(object, IActorRef)
Send a message to the routee.
Declaration
public override void Send(object message, IActorRef sender)
Parameters
Type |
Name |
Description |
object |
message |
The message to send.
|
IActorRef |
sender |
The sender, if any.
|
Overrides
Extension Methods