On Jul 25, 2006, at 9:54 PM, Hanson Char wrote:
From the Mina FAQ, my understanding is that storing/retrieving resources from a session is thread-safe in the IoHandler, as long as the resources are
not shared among sessions.

And the ThreadPoolFilter is used, yes.

Is this also true for ProtocolDecoder ?  That is, is it true that
storing/retrieving resources from a session is thread-safe in the
ProtocolDecoder, as long as the resources are not shared among sessions ?

As long as the ProtocolCodecFilter is in the chain after the ThreadPoolFilter (which would be the default), you'll be fine as well.
-pete

--
(peter.royal|osi)@pobox.com - http://fotap.org/~osi

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to