Class ActorSelectionRoutee
Inheritance
ActorSelectionRoutee
Assembly: Akka.dll
Syntax
public class ActorSelectionRoutee : Routee
Constructors
|
Improve this Doc
View Source
ActorSelectionRoutee(ActorSelection)
Declaration
public ActorSelectionRoutee(ActorSelection actor)
Parameters
Properties
|
Improve this Doc
View Source
Selection
Declaration
public ActorSelection Selection { get; }
Property Value
Methods
|
Improve this Doc
View Source
Ask(Object, Nullable<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.
|
Nullable<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
|
Improve this Doc
View Source
Equals(ActorSelectionRoutee)
Declaration
protected bool Equals(ActorSelectionRoutee other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
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