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

Inheritance: Akka.Serialization.SerializerWithStringManifest
Mostrar archivo Open project: rogeralsing/akka.net

Public Methods

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

Private Methods

Method 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 method

public ClusterShardingMessageSerializer ( ExtendedActorSystem system ) : System
system ExtendedActorSystem
return System

FromBinary() public method

public FromBinary ( byte binary, string manifest ) : object
binary byte
manifest string
return object

Manifest() public method

public Manifest ( object o ) : string
o object
return string

ToBinary() public method

public ToBinary ( object obj ) : byte[]
obj object
return byte[]