Class ActorSelectionRoutee
A Routee that resolves to an ActorSelection
Inherited Members
Namespace: Akka.Routing
Assembly: Akka.dll
Syntax
public class ActorSelectionRoutee : Routee
Constructors
| Edit this page View SourceActorSelectionRoutee(ActorSelection)
Declaration
public ActorSelectionRoutee(ActorSelection actor)
Parameters
| Type | Name | Description |
|---|---|---|
| ActorSelection | actor |
Properties
| Edit this page View SourceSelection
The ActorSelection this routee sends to.
Declaration
public ActorSelection Selection { get; }
Property Value
| Type | Description |
|---|---|
| ActorSelection |
Methods
| Edit this page View SourceAsk(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 SourceEquals(ActorSelectionRoutee)
Declaration
protected bool Equals(ActorSelectionRoutee other)
Parameters
| Type | Name | Description |
|---|---|---|
| ActorSelectionRoutee | other |
Returns
| Type | Description |
|---|---|
| bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
| Edit this page View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |
Overrides
| Edit this page View SourceSend(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. |
Edit this page