Пример #1
0
 public override void Handle(DistributedOperation distributedOperation)
 {
     Output.Add(ChunkedReplicatedContent.Single(DISTRIBUTED_OPERATION, distributedOperation.marshalMetaData));
 }
Пример #2
0
 public override void Handle(ReplicatedLockTokenRequest replicatedLockTokenRequest)
 {
     Output.Add(ChunkedReplicatedContent.Single(LOCK_TOKEN_REQUEST, channel => ReplicatedLockTokenSerializer.marshal(replicatedLockTokenRequest, channel)));
 }
Пример #3
0
 public override void Handle(ReplicatedIdAllocationRequest replicatedIdAllocationRequest)
 {
     Output.Add(ChunkedReplicatedContent.Single(ID_RANGE_REQUEST_TYPE, channel => ReplicatedIdAllocationRequestSerializer.marshal(replicatedIdAllocationRequest, channel)));
 }
Пример #4
0
 public override void Handle(NewLeaderBarrier newLeaderBarrier)
 {
     Output.Add(ChunkedReplicatedContent.Single(NEW_LEADER_BARRIER_TYPE, channel =>
     {
     }));
 }
Пример #5
0
 public override void Handle(MemberIdSet memberIdSet)
 {
     Output.Add(ChunkedReplicatedContent.Single(RAFT_MEMBER_SET_TYPE, channel => MemberIdSetSerializer.marshal(memberIdSet, channel)));
 }