Metadata-Version: 1.1
Name: mjsrpc2
Version: 0.0.6
Summary: mjsrpc2 is a extension of jsonrpc2 providing introspection and argument type validation
Home-page: http://developers.mosaic-cloud.eu
Author: Marian Neagul
Author-email: marian@ieat.ro
License: APL
Description: 
        mjsrpc2 is a extension of jsonrpc2 providing introspection and argument type validation
        
        .. contents::
        
        Notice
        ======
        This is an internal component in the mOSAIC_ Cloud Project. The current state of the component is experimental.
        
        .. _mOSAIC: http://developers.mosaic-cloud.eu
        
        QuickStart
        ==========
        
        Install using easy_install:
        
         $ easy_install mjsrpc2
        
        Using
        -----
         ::
         	
         	from mjsrpc2 import rpc
        	
         	class A(rpc.RPCBase):
           		def __init__(self):
           			rpc.RPCBase.__init__(self)
        
           		@rpc.jsonmethod
           		def foo(self):
           			return "foo"
           	# Server part
           	service = rpc.RPCService(A())
           	server = rpc.UnixSocketConnector(rpc = service, endpoint="/tmp/a.sock")
           	# Client part
           	client_transport = rpc.UnixStreamTransport(endpoint = "/tmp/a.sock")
           	proxy = rpc.RPCProxy(client_transport)
           	assert proxy.foo() == "foo"
             
        ToDO
        ----
         * Implement transport for ZeroMQ
         * Implement transport for RabbitMQ
        
Keywords: jsonrpc2 rpc
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: Apache Software License
