Skip to main content

Dubbo Telnet Client of python

Project description


### Example

import dubbo_telnet

Host = '' # Doubble服务器IP
Port = 28008 # Doubble服务端口

# 初始化dubbo对象
conn = dubbo_telnet.connect(Host, Port)

# 设置telnet连接超时时间

# 设置dubbo服务返回响应的编码

interface = ''
method = 'tradeDetailQuery'
param = '{"message": "HelloWorld"}'
print conn.invoke(interface, method, param)

command = 'invoke{"message":"HelloWorld"})'

Project details

Download files

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

Files for dubbo_telnet, version 1.0.1b3
Filename, size File type Python version Upload date Hashes
Filename, size dubbo_telnet-1.0.1b3.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page