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; }
public MessageSerializer(SerializationManager serializationManager, SharedMemoryPool memoryPool) { this.headersSerializer = new HeadersSerializer(serializationManager); this.objectSerializer = new OrleansSerializer <object>(serializationManager); this.memoryPool = memoryPool.Pool; }