Hello Leandro.

As it is really very simple implementation of JSON-RPC - few tens of 
lines (parsing of JSON), it dosen't make any sense to publish it to 
public domain. Most moderate C++ programmers could do better in 20 
minutes or so. )))

* Sorry for offtopic, but the rest of the post is about C++ POCO.

The major work is done by POCO HTTP* classes which can handle HTTP 
request/response - you have only to make subclass of some of the HTTP 
handlers classe. For details look at POCO documentation and for question 
visit their forum. Also multi-thread server model with thread pool is 
supported by POCO as well as efficient IO model, if I remember it 
correct, with epoll for linux and IOP for win32 (for latter patch exist 
as far as I know, may be it was included to main branch now). HTTPS is 
supported.

Just for starting point, here link to part of early version of our code, 
not efficient because it uses regexp, but it was sufficient to us:

github.com/karitra/sandbox/blob/master/json-rpc.h

If it would be community demand we can implement public real JSON-RPC 
C++ framework (yet another ))). But I think this is no need for it, as 
it easy to implement with existing public tools. And I suggest to use 
POCO instead of boost, as far as I know the latter doesn't have any 
HTTP/HTTPS support "out of the box" (but it also easy to implement) and 
former seems to be more consistent and adopted for self-contained server 
side C++ programming.

Best regards.
Alex.

22.03.2012 17:20, Leandro Santiago пишет:
> Hello Alex. Is your rpc server side implementation open source (or do
> you intend to release as oss)?



------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to