Class ShardingEnvelope
Default envelope type that may be used with Cluster Sharding.
The alternative way of routing messages through sharding is to not use envelopes,
and have the message types themselves carry identifiers.
Inheritance
ShardingEnvelope
Assembly: Akka.Cluster.Sharding.dll
Syntax
public sealed class ShardingEnvelope : IWrappedMessage, IClusterShardingSerializable, IEquatable<ShardingEnvelope>
Constructors
|
Improve this Doc
View Source
ShardingEnvelope(String, Object)
Declaration
public ShardingEnvelope(string entityId, object message)
Parameters
Properties
|
Improve this Doc
View Source
EntityId
Declaration
public string EntityId { get; }
Property Value
|
Improve this Doc
View Source
Message
Declaration
public object Message { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(ShardingEnvelope)
Declaration
public bool Equals(ShardingEnvelope 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
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods