Appending an incoming ChannelBuffer?
Norman Maurer
norman at apache.org
Sun Jan 16 13:10:06 EST 2011
I wonder why you not write to the Outputstream everytime you receive a
ChannelBuffer.
Just create the OutputStream and put it in the Attribute to access it
on next ChannelBuffer. We do something similar in james to handle DATA
command in SMTP.
Bye,
Norman
2011/1/16 greymeister <greymeister at gmail.com>:
>
> Hi Lee, that might work. I will try it and see what the performance and heap
> usage looks like with that change. All I need to do at the end is dump it
> to an OutputStream, so it sounds like the CompositeChannelBuffer can do just
> that.
> --
> View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Appending-an-incoming-ChannelBuffer-tp5925199p5929602.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
More information about the netty-users
mailing list