コード例 #1
0
 public MessageSerializer(
     SerializationManager serializationManager,
     SharedMemoryPool memoryPool,
     int maxHeaderSize,
     int maxBodySize)
 {
     this.headersSerializer = new HeadersSerializer(serializationManager);
     this.objectSerializer  = new OrleansSerializer <object>(serializationManager);
     this.memoryPool        = memoryPool.Pool;
     this.maxHeaderLength   = maxHeaderSize;
     this.maxBodyLength     = maxBodySize;
 }
コード例 #2
0
ファイル: MessageSerializer.cs プロジェクト: zpple/orleans
 public MessageSerializer(SerializationManager serializationManager, SharedMemoryPool memoryPool)
 {
     this.headersSerializer = new HeadersSerializer(serializationManager);
     this.objectSerializer  = new OrleansSerializer <object>(serializationManager);
     this.memoryPool        = memoryPool.Pool;
 }