Class ClusterClient.Send
The message will be delivered to one recipient with a matching path, if any such exists. If several entries match the path the message will be delivered to one random destination. The sender of the message can specify that local affinity is preferred, i.e. the message is sent to an actor in the same local actor system as the used receptionist actor, if any such exists, otherwise random to any other matching entry.
Inherited Members
Namespace: Akka.Cluster.Tools.Client
Assembly: Akka.Cluster.Tools.dll
Syntax
[Serializable]
public sealed class ClusterClient.Send : IClusterClientProtocolMessage, IEquatable<ClusterClient.Send>
Constructors
| Edit this page View SourceSend(string, object, bool)
TBD
Declaration
public Send(string path, object message, bool localAffinity = false)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | TBD |
| object | message | TBD |
| bool | localAffinity | TBD |
Properties
| Edit this page View SourceLocalAffinity
TBD
Declaration
public bool LocalAffinity { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Message
TBD
Declaration
public object Message { get; }
Property Value
| Type | Description |
|---|---|
| object |
Path
TBD
Declaration
public string Path { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Edit this page View SourceEquals(Send)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(ClusterClient.Send other)
Parameters
| Type | Name | Description |
|---|---|---|
| ClusterClient.Send | 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. |
Edit this page