Emmanuel Lecharny wrote:
Again, in your case, using a DummySession is not a good idea.


Point taken. That said, it looks like it's not actually going to be all that hard for my decoder to check for whether the transport allows fragmentation or not, and to code for that accordingly. (Certainly much easier than writing my own implementation of a dummy session.) So I think I'm going to go with that.


A question : are you trying to test your decoder or something else ?

DR

Yep.  I'm test-driving development of a decoder for a binary protocol.

Thanks,

DR

Reply via email to