Class ActorRefBase
Base implementation for IActorRef implementations.
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public abstract class ActorRefBase : IActorRef, ICanTell, IEquatable<IActorRef>, IComparable<IActorRef>, ISurrogated, IComparable
Properties
| Edit this page View SourcePath
TBD
Declaration
public abstract ActorPath Path { get; }
Property Value
| Type | Description |
|---|---|
| ActorPath |
Methods
| Edit this page View SourceCompareTo(IActorRef)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Declaration
public int CompareTo(IActorRef other)
Parameters
| Type | Name | Description |
|---|---|---|
| IActorRef | other | An object to compare with this instance. |
Returns
| Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| int | A value that indicates the relative order of the objects being compared. The return value has these meanings:
|
CompareTo(object)
Declaration
public int CompareTo(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| int |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | This exception is thrown if the given |
Equals(IActorRef)
Checks equality between this instance and another object.
Declaration
public bool Equals(IActorRef other)
Parameters
| Type | Name | Description |
|---|---|---|
| IActorRef | 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 SourceTell(object, IActorRef)
TBD
Declaration
public void Tell(object message, IActorRef sender)
Parameters
| Type | Name | Description |
|---|---|---|
| object | message | TBD |
| IActorRef | sender | TBD |
TellInternal(object, IActorRef)
TBD
Declaration
protected abstract void TellInternal(object message, IActorRef sender)
Parameters
| Type | Name | Description |
|---|---|---|
| object | message | TBD |
| IActorRef | sender | TBD |
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |
Overrides
| Edit this page View SourceToSurrogate(ActorSystem)
Creates a surrogate representation of the current ActorRefBase.
Declaration
public virtual ISurrogate ToSurrogate(ActorSystem system)
Parameters
| Type | Name | Description |
|---|---|---|
| ActorSystem | system | The actor system that references this ActorRefBase. |
Returns
| Type | Description |
|---|---|
| ISurrogate | The surrogate representation of the current ActorRefBase. |
Edit this page