On Apr 24, 2007, at 11:34 AM, mat wrote:
I believe the protocol codec filter is to encode and decode message under each session and I believe it uses IOService threads. My question is: what if I try to boardcast the message to all sessions connected. The encode part will be executed a lot of times. However, if I encode once and convert it to bytebuffer. and send in LOOP session.write(byte[]). Which mean i don't needprotocol codec filter under this situation. Am I right?
MINA's ProtocolCodecFilter is smart enough to not attempt an encode if a ByteBuffer passes through it.
So you can still use it for decoding safely. -pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
