C# Class Akka.Cluster.Sharding.Serialization.ClusterShardingMessageSerializer

Inheritance: Akka.Serialization.SerializerWithStringManifest
Afficher le fichier Open project: rogeralsing/akka.net

Méthodes publiques

Méthode Description
ClusterShardingMessageSerializer ( ExtendedActorSystem system ) : System
FromBinary ( byte binary, string manifest ) : object
Manifest ( object o ) : string
ToBinary ( object obj ) : byte[]

Private Methods

Méthode Description
ActorRefMessageFromBinary ( byte binary ) : IActorRef
ActorRefMessageToProto ( IActorRef actorRef ) : ActorRefMessage
Compress ( IMessageLite message ) : byte[]

Compresses the protobuf message using GZIP compression

CoordinatorStateFromBinary ( byte binary ) : object
CoordinatorStateToProto ( PersistentShardCoordinator state ) : CoordinatorState
Decompress ( byte bytes ) : Stream

Decompresses the protobuf message using GZIP compression

EntityStartedFromBinary ( byte binary ) : object
EntityStartedToProto ( Shard entityStarted ) : EntityStarted
EntityStateFromBinary ( byte binary ) : object
EntityStateToProto ( Shard entityState ) : EntityState
EntityStoppedFromBinary ( byte binary ) : object
EntityStoppedToProto ( Shard entityStopped ) : EntityStopped
ResolveActorRef ( string path ) : IActorRef
ShardHomeAllocatedFromBinary ( byte binary ) : object
ShardHomeAllocatedToProto ( PersistentShardCoordinator shardHomeAllocated ) : ShardHomeAllocated
ShardHomeFromBinary ( byte binary ) : object
ShardHomeToProto ( PersistentShardCoordinator shardHome ) : ShardHome
ShardIdMessageFromBinary ( byte binary ) : string
ShardIdMessageToProto ( string shard ) : ShardIdMessage
ShardStatsFromBinary ( byte binary ) : object
ShardStatsToProto ( Shard o ) : ShardStats

Method Details

ClusterShardingMessageSerializer() public méthode

public ClusterShardingMessageSerializer ( ExtendedActorSystem system ) : System
system ExtendedActorSystem
Résultat System

FromBinary() public méthode

public FromBinary ( byte binary, string manifest ) : object
binary byte
manifest string
Résultat object

Manifest() public méthode

public Manifest ( object o ) : string
o object
Résultat string

ToBinary() public méthode

public ToBinary ( object obj ) : byte[]
obj object
Résultat byte[]