Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Dubbo Telnet Client of python

Project Description
通过telnet调用Dubbo接口

### Example

```python
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)
```
Release History

Release History

This version
History Node

1.0.1b3

History Node

1.0.1b2

History Node

1.0.1b1

History Node

1.0.0b9

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dubbo_telnet-1.0.1b3.tar.gz (3.6 kB) Copy SHA256 Checksum SHA256 Source Jun 17, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting