On Nov 13, 2007 2:05 PM, Mike Heath <[EMAIL PROTECTED]> wrote: > I really don't see a need to change the API to support a feature that > few people will use. Using IoSessionDataStructureFactory to produce a > priority queue provides the necessary flexibility to allow those who > need this feature to implement it for their protocol as they see fit.
The problem is that WriteRequestQueue can't effectively determine the priority of the scheduled message because it will be in a binary form in most transports. The WriteRequestQueue implementor must know the original message of the final binary form. Should we add WriteRequest.originalMessage property instead then? Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
