Hi,<br><br>My first message to this list, I'm in the middle of re-writing something that currently uses Mina, Netty looks very nice indeed.<br><br>I have a client pipeline for e.g. (towards server): A --> B (assume they handle both upstream / downstream)<br>
<br>B encodes / decodes using a "chunk size" that can be changed by a server message.<br><br>But the business logic of unpacking a "chunk size change" message is responsibility of A.<br><br>I guess I have the following options of getting a reference to B and calling a setter.<br>
<br>- initialize the pipeline so that A has a reference to B<br>- invent a new "internal" message and send it from A to B (but extra message clutter, downcast / if-then)<br>- call methods on ChannelPipeline to get a reference to B<br>
- use a ChannelLocal or attachment (but seems to be handler specific)<br><br>Any advice on which of the above would be recommended / discouraged, would be greatly appreciated, maybe there are more ways I have missed.<br><br>
Thanks,<br><br>Peter.<br><br>