On 3/27/06, peter royal <[EMAIL PROTECTED]> wrote:
>
> On Mar 26, 2006, at 12:44 PM, Michael Link wrote:
> > I also think that most Encoders/Decoders will be thread-safe so
> > that it should be possible to remove the synchronized-Blocks at the
> > calling places. Perhaps it would be helpful to have something
> > similar like the Collections.synchronizedXXX(...) methods for
> > Encoders/Decoders.
>
> I'm in favor of removing the synchronization, and I think a helper
> like this would also be a good addition..


Done.  I added SynchronizedProtocolEncoder and SynchronizedProtocolDecoder
which are more dependency-injection friendly than static decorator methods.


Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6

Reply via email to