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
|
Edit this page
View Source
ShardingEnvelope(string, object)
Declaration
public ShardingEnvelope(string entityId, object message)
Parameters
Properties
|
Edit this page
View Source
EntityId
Declaration
public string EntityId { get; }
Property Value
|
Edit this page
View Source
Message
Declaration
public object Message { get; }
Property Value
Methods
|
Edit this page
View Source
Equals(ShardingEnvelope?)
Declaration
public bool Equals(ShardingEnvelope? other)
Parameters
Returns
|
Edit this page
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods