Metadata-Version: 1.1
Name: dubbo-telnet
Version: 1.0.1b1
Summary: Dubbo Telnet Client of python
Home-page: https://github.com/WALL-E/dubbo-telnet-py
Author: zhangzheng
Author-email: zhangzheng@qianbao.com
License: unlicense
Download-URL: https://github.com/WALL-E/dubbo-telnet-py/raw/master/dist/dubbo_telnet-1.0.1b1-py2.7.egg
Description: <html>
        <head>
            <title>通过telnet调用Dubbo接口</title>
        </head>
        <body>
            <h1>通过telnet调用Dubbo接口</h1>
            <hr>
            <h3>Example</h3>
        
            <pre>
            import dubbo_telnet
        
            Host = '192.168.1.203'  # Doubble服务器IP
            Port = 28008  # Doubble服务端口
        
            # 初始化dubbo对象
            conn = dubbo_telnet.connect(Host, Port)
        
            # 设置telnet连接超时时间
            conn.set_connect_timeout(10)
        
            # 设置dubbo服务返回响应的编码
            conn.set_encoding('gbk')
        
            interface = 'com.zrj.pay.trade.api.QueryTradeService'
            method = 'tradeDetailQuery'
            param = '{"message": "HelloWorld"}'
            print conn.invoke(interface, method, param)
        
            command = 'invoke com.zrj.pay.trade.api.QueryTradeService.tradeDetailQuery({"message":"HelloWorld"})'
            print conn.do(command)
            </pre>
        
        </body>
        </html>
Keywords: dubbo,dubbo_telnet,telnet,
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Communications
Classifier: Topic :: System :: Networking
Classifier: Topic :: Software Development :: Libraries :: Java Libraries
