Re: CVS: commit uwog abiword-plugins/tools/abicollab/handlers/xp AccountHandler.cpp AccountHandler.h

From: J.M. Maurer <uwog_at_uwog.net>
Date: Sat Dec 16 2006 - 19:37:36 CET

On Sat, 2006-12-16 at 17:09 +0100, Robert Staudinger wrote:
> On 12/15/06, cvs@abisource.com <cvs@abisource.com> wrote:
> >
> > Update of /cvsroot/abiword-plugins/tools/abicollab/handlers/xp
> > In directory abiword.snt.utwente.nl:/tmp/cvs-serv28808/tools/abicollab/handlers/xp
> >
> > Modified Files:
> > AccountHandler.cpp AccountHandler.h
> > Log Message:
> > Every <abicollab> packet now contains a protocol version number that can
> > be used for protocol incompatibilities. Furtermore, it can contain only contain <handler>,
> > <session>, <event> (and in the future <chat>) payload, instead of all the random
> > packet formats we sent around previously. Will document then later.
>
> Wouldn't it suffice to negotiate protocol version only at session
> initialisation?

For direct TCP connections: yes.

But in something like XMPP, there is no "connection" where you can
negotiate things. Even worse: servers cache messages, so whenever you
get "online", there is no way that you know which kind of messages are
sent to you, unless every message contains the info like the protocol
version. Heck, you can get old crap from a year ago, when the world was
totally different.

If the future, I hope we don't send any XML over the wire anyway, so
then this isn't as much as a problem (in terms of wasted bytes).

Cheers,
  Marc
Received on Sat Dec 16 19:39:10 2006

This archive was generated by hypermail 2.1.8 : Sat Dec 16 2006 - 19:39:11 CET