Hi all,
i had a try myself with the c/s protocol, without success unfortunately.
Here it is what i remeber (might be wrong and/or imprecise and/or outdate
though):
the protocol runs on a particular websocket implementation, called
socketIO. i saw no evidence of a more standard (is there a standard
already?) websocket implementation. This code is inside the wave server
codebase, spread in various classes. my suggestion is: launch the server in
debug mode in eclipse, and with the debugger, jump from here to there to
understand what pieces of code are involved (the webclient can be
configured to use websockets, so you can see what's going on AFAIR)
the c/s protocol itself is generated by protobuff, so there are some
special files (read the protobuff docs for this) which are used to generate
java classses. at the time of my experiments, there was a separate ant task
to rebuild the protocol classes, now there's maven building wiab (if i'm
not wrong) so i don't know if this is part of the standard build or if you
have to compile a separate module.
As Ali pointed out the main lack i found (probably because it's the first
thing i stumbled upon) is the lack of an authentication mechanism thought
websockets. so you probably wants to start from there but i'm sure there
are more things that will need to be either added or tweaked.

I still want to nail down this part of wiab, but just like Thomas, probably
i'm just not up the task. anyways, if i can be of any help to you, feel
free to ask =)

good luck!

D

2012/10/27 Ali Lown <a.lo...@gmail.com>

> The waveprotocol website documents a new 'client-server protocol' [0],
> which (in my understanding) isn't quite what the WIAB project currently
> implements. There is a partial documentation of the currently used
> protoclol linked from that page.[1]
>
> This protocol is currently used over the websocket connection, after
> wrapping the protobufs in a JSON class (to record the data type of the
> serialized protobuf is, and to provide an idea of sequencing).
>
> IMO, the protocol should be extended to allow sending the search
> request/responses over rather than using a HTTP-based side-channel for
> searching. (Which is currently client-based polling, but websockets would
> allow the server to 'push' it).
>
> The client-server protocol could also do with defining an authentication
> mechanism (currently left up to the implementors) so that multiple
> implementations can agree on authenticating. (Some notes here [2], but
> nothing specific)
>
> Ali
>
> [0]:
> http://www.waveprotocol.org/protocol/design-proposals/clientserver-protocol
>
> [1]:
>
> https://wave-protocol.googlecode.com/hg/whitepapers/client-server-protocol/client-server-protocol.html
>
> [2]: http://www.waveprotocol.org/protocol/design-proposals/authentication
> On 27 Oct 2012 01:51, "Thomas Wrobel" <darkfl...@gmail.com> wrote:
>
> > I can only point somewhat to the Kune guys work. (
> >
> >
> http://kune.ourproject.org/2012/10/new-release-of-collaborative-distributed-social-network-kune-ostrom/
> > )
> > but I dont know the details.
> >
> > I have been lurking here - very desperate to make my own Wave client for
> a
> > few years, but it requires separation of the server/client code which
> seems
> > to be a rather large messy project. (or,at least, thats required to allow
> > everyone to make clients independently of compiling the whole server - if
> > your happy to run your own server specifically for your client then
> ignore
> > me completely).
> >
> > I tried a few times myself to pick apart the code and despite the help
> and
> > friendlyness of people here, I am just not good enough for the job.
> > Everyone else seems to be working on other bits and pieces.
> >
> > Hopefully more technical people will reply with details of the current
> > state, else I'll dig up all the information I was given before.
> > [/long time lurker]
> >
> >
> > On 27 October 2012 01:42, Ricardo Richardson Balcácer <
> > richardson.balca...@gmail.com> wrote:
> >
> > > Hello everyone,
> > >
> > >         I'm new in this group, at the moment I'm trying to get my feet
> > wet
> > > reading all the available documentation and understand how the project
> is
> > > organized. I do wish to ask something, my purpose is develop my own
> > client
> > > implementation for the wave server. If anyone have some pointers to
> help
> > me
> > > out on getting to know the most relevant packages it will be very
> > helpful.
> > >
> > > Thank you,
> > > Ricardo Richardson
> >
>

Reply via email to