Yes, I can. But in order to get higher performance, I don't want the computer spend time on those messages that it won't process.
So, Do you think I can block the message inside ProtocolCodecFilter? BR anderson -----Original Message----- From: Oscar [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2008 10:31 AM To: [email protected] Subject: Re: How to block or allow some kind of network packet can flow from codecfilter to iohandler Does your network packet mean logical packet (or message)? If yes, I think you'd better ignore it in *messageReceived* or the the handler of your packet. On Thu, Jul 24, 2008 at 10:03 AM, Wenrui Guo <[EMAIL PROTECTED]> wrote: > Hey, all > > In my application, there's a special requirement that force > application to block some sort of network packet continue to flow to > IoHandler from ProtocolCodecFilter. By my understanding, if programmer > doesn't write anything to ProtocolDecoderOutput, then subsequent > IoHandler won't receive the corresponding message generated by such network packet. > > Could anybody tell me if it behaviors like the above? > > BR > anderson >
