Niklas Therning wrote:
> Trustin Lee wrote:
>> Ahh didn't we have a flush() method in ProtocolDecoderOutput?  Let's add it
>> then! :)
> 
> Ok, great! :) I'll have a look at it.
> 
> 

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.

-- 
Niklas Therning
Software Architect
www.spamdrain.net

Reply via email to