/**
* Autogenerated by Thrift Compiler (0.7.0)
* <p>
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
package com.alibaba.dubbo.rpc.gen.thrift;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.BitSet;
import java.util.Collections;
import java.util.EnumMap;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
public class Demo {
public interface Iface {
public boolean echoBool(boolean arg) throws org.apache.thrift.TException;
public byte echoByte(byte arg) throws org.apache.thrift.TException;
public short echoI16(short arg) throws org.apache.thrift.TException;
public int echoI32(int arg) throws org.apache.thrift.TException;
public long echoI64(long arg) throws org.apache.thrift.TException;
public double echoDouble(double arg) throws org.apache.thrift.TException;
public String echoString(String arg) throws org.apache.thrift.TException;
}
public interface AsyncIface {
public void echoBool(boolean arg, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.echoBool_call> resultHandler) throws org.apache.thrift.TException;
public void echoByte(byte arg, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.echoByte_call> resultHandler) throws org.apache.thrift.TException;
public void echoI16(short arg, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.echoI16_call> resultHandler) throws org.apache.thrift.TException;
public void echoI32(int arg, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.echoI32_call> resultHandler) throws org.apache.thrift.TException;
public void echoI64(long arg, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.echoI64_call> resultHandler) throws org.apache.thrift.TException;
public void echoDouble(double arg, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.echoDouble_call> resultHandler) throws org.apache.thrift.TException;
public void echoString(String arg, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.echoString_call> resultHandler) throws org.apache.thrift.TException;
}
public static class Client extends org.apache.thrift.TServiceClient implements Iface {
public Client(org.apache.thrift.protocol.TProtocol prot) {
super(prot, prot);
}
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
super(iprot, oprot);
}
public boolean echoBool(boolean arg) throws org.apache.thrift.TException {
send_echoBool(arg);
return recv_echoBool();
}
public void send_echoBool(boolean arg) throws org.apache.thrift.TException {
echoBool_args args = new echoBool_args();
args.setArg(arg);
sendBase("echoBool", args);
}
public boolean recv_echoBool() throws org.apache.thrift.TException {
echoBool_result result = new echoBool_result();
receiveBase(result, "echoBool");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "echoBool failed: unknown result");
}
public byte echoByte(byte arg) throws org.apache.thrift.TException {
send_echoByte(arg);
return recv_echoByte();
}
public void send_echoByte(byte arg) throws org.apache.thrift.TException {
echoByte_args args = new echoByte_args();
args.setArg(arg);
sendBase("echoByte", args);
}
public byte recv_echoByte() throws org.apache.thrift.TException {
echoByte_result result = new echoByte_result();
receiveBase(result, "echoByte");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "echoByte failed: unknown result");
}
public short echoI16(short arg) throws org.apache.thrift.TException {
send_echoI16(arg);
return recv_echoI16();
}
public void send_echoI16(short arg) throws org.apache.thrift.TException {
echoI16_args args = new echoI16_args();
args.setArg(arg);
sendBase("echoI16", args);
}
public short recv_echoI16() throws org.apache.thrift.TException {
echoI16_result result = new echoI16_result();
receiveBase(result, "echoI16");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "echoI16 failed: unknown result");
}
public int echoI32(int arg) throws org.apache.thrift.TException {
send_echoI32(arg);
return recv_echoI32();
}
public void send_echoI32(int arg) throws org.apache.thrift.TException {
echoI32_args args = new echoI32_args();
args.setArg(arg);
sendBase("echoI32", args);
}
public int recv_echoI32() throws org.apache.thrift.TException {
echoI32_result result = new echoI32_result();
receiveBase(result, "echoI32");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "echoI32 failed: unknown result");
}
public long echoI64(long arg) throws org.apache.thrift.TException {
send_echoI64(arg);
return recv_echoI64();
}
public void send_echoI64(long arg) throws org.apache.thrift.TException {
echoI64_args args = new echoI64_args();
args.setArg(arg);
sendBase("echoI64", args);
}
public long recv_echoI64() throws org.apache.thrift.TException {
echoI64_result result = new echoI64_result();
receiveBase(result, "echoI64");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "echoI64 failed: unknown result");
}
public double echoDouble(double arg) throws org.apache.thrift.TException {
send_echoDouble(arg);
return recv_echoDouble();
}
public void send_echoDouble(double arg) throws org.apache.thrift.TException {
echoDouble_args args = new echoDouble_args();
args.setArg(arg);
sendBase("echoDouble", args);
}
public double recv_echoDouble() throws org.apache.thrift.TException {
echoDouble_result result = new echoDouble_result();
receiveBase(result, "echoDouble");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "echoDouble failed: unknown result");
}
public String echoString(String arg) throws org.apache.thrift.TException {
send_echoString(arg);
return recv_echoString();
}
public void send_echoString(String arg) throws org.apache.thrift.TException {
echoString_args args = new echoString_args();
args.setArg(arg);
sendBase("echoString", args);
}
public String recv_echoString() throws org.apache.thrift.TException {
echoString_result result = new echoString_result();
receiveBase(result, "echoString");
![avatar](https://profile-avatar.csdnimg.cn/d3126b539102457e84d64c0ac5875e85_javafly66.jpg!1)
javafly66
- 粉丝: 4
- 资源: 11
最新资源
- COMSOL模拟土石混合体孔隙渗流中的细颗粒迁移运动:多场多相介质耦合分析,COMSOL模拟土石混合体孔隙渗流中的细颗粒迁移运动:多场多相介质耦合分析,COMSOL孔隙渗流下的细颗粒迁移运动 对土石
- 基于Vue框架的PDA扫码操作ERP系统设计源码
- 活动发布管理-活动资源
- Matlab Simulink下的风储调频系统:四机两区联合仿真,快速响应与频率优化控制,附虚拟惯性与下垂控制特性,伯德图与根轨迹分析支持下的风电渗透率研究,基于频域模型法的风储联合仿真系统:快速调频
- 递归最小二乘法估算车辆前后轮胎侧偏刚度:实车实验验证与算法参数需求探讨,递归最小二乘法估算车辆前后轮胎侧偏刚度:实车实验验证与算法参数需求探讨,基于递归最小二乘法估计的车辆前后轮胎的侧偏刚度,如仿真结
- 基于PHP和Shell脚本的数据分析系统设计源码
- 基于vue-cli的vue-router、vuex、axios等技术的移动端商城APP设计源码
- 基于PHP+MySQL的芒市Z马逊仿制网站设计源码
- Professional-Assembly-Language-for-x64-汇编语言资源
- 基于Python和C/C++的ext-RFID模块设计源码
- 基于JavaScript的干部管理系统源码设计与实现
- f1c200s_library-C++资源
- 基于Python实现的招聘网站爬虫设计源码合集
- NutzWk-Java资源
- 基于Ionic V3框架的TypeScript水滴打卡App开源代码设计
- 基于Java和HTML的CCBU交易系统设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)