Class RemoteScope
This class represents a binding of an actor deployment to a remote system. Actors in this scope are deployed to a specified Address.
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public class RemoteScope : Scope, IEquatable<Scope>, IEquatable<RemoteScope>
Constructors
| Edit this page View SourceRemoteScope()
Initializes a new instance of the RemoteScope class.
Declaration
protected RemoteScope()
RemoteScope(Address)
Initializes a new instance of the RemoteScope class.
Declaration
public RemoteScope(Address address)
Parameters
| Type | Name | Description |
|---|---|---|
| Address | address | The address to which actors are deployed. |
Properties
| Edit this page View SourceAddress
The address to which actors are deployed.
Declaration
public Address Address { get; set; }
Property Value
| Type | Description |
|---|---|
| Address |
Methods
| Edit this page View SourceCopy()
Creates a new RemoteScope that uses the current Address.
Declaration
public override Scope Copy()
Returns
| Type | Description |
|---|---|
| Scope | The newly created RemoteScope |
Overrides
| Edit this page View SourceEquals(RemoteScope)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(RemoteScope other)
Parameters
| Type | Name | Description |
|---|---|---|
| RemoteScope | other | An object to compare with this object. |
Returns
| Type | Description |
|---|---|
| bool | true if the current object is equal to the |
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 SourceWithFallback(Scope)
Creates a new Scope from this scope using another Scope to backfill options that might be missing from this scope.
note
This method ignores the given scope and returns the current instance.
Declaration
public override Scope WithFallback(Scope other)
Parameters
| Type | Name | Description |
|---|---|---|
| Scope | other | The Scope used for fallback configuration. |
Returns
| Type | Description |
|---|---|
| Scope | The instance of this scope |
Edit this page