Re: Nio source (or protocol description)

16 views
Skip to first unread message

Jeff Lindsay

unread,
Nov 1, 2010, 10:17:48 PM11/1/10
to Serge Wroclawski, noti...@googlegroups.com
Hey Serge,

CC'd the notify.io Google Group.

It's not technically long polling, it's a full persistent connection (or long polling with no timeout). We'll be documenting more of it in the coming month. You can also look at Nio, our Mac client: github.com/progrium/Nio

Definitely look forward to any contributions from you!

-jeff

On Thu, Oct 28, 2010 at 6:19 PM, Serge Wroclawski <se...@wroclawski.org> wrote:
Hi,

After hearing about notify.io, the first thing I wanted to do was write
a simple notify-osd (Ubuntu) client and go at it.

But I can't find any example client code. I imagine the client just
makes a long poll request and recieves some data.

I imagine I could read the server code but is the nio code available or
a description of the conents of the returned data.

Thanks,

- Serge



--
Jeff Lindsay
http://progrium.com

Peter Ward

unread,
Nov 1, 2010, 10:33:33 PM11/1/10
to noti...@googlegroups.com
Hi Serge,

I've written a libnotify client for notify.io - the source code is here:

As you can see by the commit dates, I haven't given it much thought for some time,
but it does still work (at least for me!), so it might be of use to you.

My client was based off a client doing the same thing, but using twisted:
the source code for that is here: http://github.com/novas0x2a/tynio

Regards,
  Peter

James Nylen

unread,
Nov 1, 2010, 10:55:09 PM11/1/10
to noti...@googlegroups.com
I picked up the same tynio code and made it work again:

http://github.com/nylen/tynio
Reply all
Reply to author
Forward
0 new messages