On Thu, 13 Sep 2007, Krzysztof Sobolewski wrote:
> Tim Ansell pisze:
> >>> Yes, Thousand Parsec supports async frames from the server (which you
> >>> should notice have a Sequence Number of zero).
> >>
> >> Oh, good to know :)
> >
> > I see some support being added to libtpproto-java :P
>
> Yep, and I really like how I did that ;) (and as it turned out, the server
> seems to make stronger assumptions than I did - the responses are always in
> the same order as requests

tpserver-cpp is currently single threaded, so this just comes naturally. In 
future, they might not always be in order.

> and if a response consists of several frames, 
> they are sent contiguously;

Again, it is mostly the way tpserver-cpp works that keeps them in order and 
contiguous. Might not stay that way forever.

> I designed PipelinedConnection to be able to 
> handle even intertwined and not-in-order responses)

libtpproto-cpp's protocol layer also handles intertwined and out of order 
responses, mainly because when fetching orders from the server, it needed to 
request the order descriptions before it could finish decoding the order.

> -KS

Later
Lee

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to