On Mar 12, 2006, at 1:08 AM, [EMAIL PROTECTED] wrote:
* Returns a new (or reusable) instance of [EMAIL PROTECTED] ProtocolEncoder} which* encodes message objects into binary or protocol-specific data. */ - ProtocolEncoder getEncoder(); + ProtocolEncoder getEncoder() throws Exception;/*** Returns a new (or reusable) instance of [EMAIL PROTECTED] ProtocolDecoder} which* decodes binary or protocol-specific data into message objects. */ - ProtocolDecoder getDecoder(); + ProtocolDecoder getDecoder() throws Exception;
Performance will suck if shared instances are returned due to synchronization on the returned instances in the ProtocolCodecFilter... Unless the synchronization is removed, it would be unadvisable to return shared instances.
-pete (discovered this the hard way) -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
