On 6/26/06, Niklas Therning <[EMAIL PROTECTED]> wrote:
I've added the flush() method to ProtocolDecoderOutput and SimpleProtocolDecoderOutput. I've changed so that a new SPDO is created on each call to ProtocolCodecFilter.messageReceived() (it used to be cached in the session) since the SPDO have to have a ref to the NextFilter and I think it's better not to hold on to an old one. I think that's ok since I can't see that messages will ever be left inside the queue of the SPDO anyway after message Received() returns. But please let me know if I'm wrong and we'll have to think of something else.
Sounds good. Actually creating SPDO every time can resolve possible concurrency problem we're facing now. Perhaps we need to create SPEO every time, too? 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
