public override ChannelFuture Write(object message) { if (message is ChannelBuffer) { ChannelBuffer buffer = ( ChannelBuffer )message; _receivedMessages.AddLast(buffer.duplicate()); } return(immediateFuture); }
public override ChannelBuffer Duplicate() { return(_buffer.duplicate()); }