/**
* Autogenerated by Thrift Compiler (0.7.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
package com.alibaba.dubbo.rpc.gen.thrift;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
import java.util.EnumSet;
import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
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 static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
public Factory() {}
public Client getClient(org.apache.thrift.protocol.TProtocol prot) {
return new Client(prot);
}
public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
return new Client(iprot, oprot);
}
}
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");
if (result.isSetSuccess()) {
return result.succes
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
开源分布式服务架构 dubbo 2.4.9 (1564个子文件)
com.alibaba.dubbo.common.extensionloader.activate.ActivateExt1 331B
com.alibaba.dubbo.common.extensionloader.activate.ActivateExt1 72B
setup.bat 2KB
start.bat 815B
run.bat 209B
com.alibaba.dubbo.cache.CacheFactory 197B
com.alibaba.dubbo.rpc.protocol.thrift.ClassNameGenerator 137B
com.alibaba.dubbo.rpc.cluster.Cluster 645B
com.alibaba.dubbo.remoting.Codec 193B
com.alibaba.dubbo.remoting.Codec 58B
com.alibaba.dubbo.remoting.Codec 56B
com.alibaba.dubbo.common.extensionloader.compatible.CompatibleExt 157B
com.alibaba.dubbo.common.compiler.Compiler 197B
com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory 172B
com.alibaba.dubbo.container.Container 60B
com.alibaba.dubbo.container.Container 59B
com.alibaba.dubbo.container.Container 57B
com.alibaba.dubbo.container.Container 54B
com.alibaba.dubbo.container.Container 54B
common.css 9KB
skin.css 4KB
dubbo.css 4KB
SpryValidationRadio.css 903B
com.alibaba.dubbo.common.store.DataStore 61B
Thumbs.db 118KB
com.alibaba.dubbo.remoting.Dispather 414B
com.alibaba.dubbo.remoting.exchange.Exchanger 73B
com.alibaba.dubbo.common.extensionloader.ext2.Ext2 202B
com.alibaba.dubbo.common.extensionloader.ext6_inject.Ext6 148B
com.alibaba.dubbo.common.extension.ExtensionFactory 144B
com.alibaba.dubbo.common.extension.ExtensionFactory 71B
SimpleDO.fc 19B
com.alibaba.dubbo.rpc.Filter 786B
com.alibaba.dubbo.rpc.Filter 126B
com.alibaba.dubbo.rpc.Filter 63B
com.alibaba.dubbo.rpc.Filter 56B
com.alibaba.dubbo.rpc.Filter 55B
com.alibaba.dubbo.rpc.Filter 48B
json.flex 2KB
404error.gif 2KB
dog.gif 2KB
bg04.gif 816B
co_04.gif 142B
co_02.gif 141B
co_03.gif 141B
co_01.gif 138B
tree-up.gif 104B
tree-down.gif 103B
tree-up-right.gif 101B
tree-down-left.gif 100B
tree-left-up.gif 98B
tree-right-down.gif 94B
tree-blank.gif 69B
bg02.gif 52B
bg01.gif 52B
bg03.gif 52B
.gitignore 233B
spring.handlers 102B
com.alibaba.dubbo.remoting.http.HttpBinder 126B
favicon.ico 1KB
com.alibaba.dubbo.common.extensionloader.ext7.InitErrorExt 138B
com.alibaba.dubbo.rpc.InvokerListener 67B
Demo.java 149KB
$__DemoStub.java 129KB
RegistryDirectoryTest.java 46KB
Builder.java 46KB
URL.java 45KB
ConfigTest.java 43KB
AbstractSerializationTest.java 42KB
ExtensionLoader.java 41KB
Entities.java 40KB
BenchmarkRunner.java 33KB
RegistryDirectory.java 31KB
ReflectUtils.java 31KB
MockClusterInvokerTest.java 28KB
ServiceConfig.java 27KB
URLTest.java 27KB
ThriftCodec.java 26KB
RedisRegistry.java 26KB
StringEscapeUtils.java 25KB
PojoUtils.java 24KB
Yylex.java 24KB
ClassNameTestThrift.java 23KB
RouteRuleTest.java 23KB
DubboBeanDefinitionParser.java 23KB
Constants.java 23KB
AbstractConfig.java 22KB
PojoUtilsTest.java 21KB
RouteRule.java 21KB
Bytes.java 21KB
ReferenceConfig.java 21KB
Routes.java 20KB
UrlUtils.java 20KB
FailbackRegistry.java 20KB
AbstractRegistry.java 19KB
AbstractInterfaceConfig.java 19KB
AbstractClusterInvokerTest.java 19KB
$__ClassNameTestDubboStub.java 19KB
ExchangeCodecTest.java 19KB
DubboProtocol.java 18KB
共 1564 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16
资源评论
zqg68544c
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- (源码)基于Spring Boot和Vue的高性能售票系统.zip
- (源码)基于Windows API的USB设备通信系统.zip
- (源码)基于Spring Boot框架的进销存管理系统.zip
- (源码)基于Java和JavaFX的学生管理系统.zip
- (源码)基于C语言和Easyx库的内存分配模拟系统.zip
- (源码)基于WPF和EdgeTTS的桌宠插件系统.zip
- (源码)基于PonyText的文本排版与预处理系统.zip
- joi_240913_8.8.0_73327_share-2EM46K.apk
- Library-rl78g15-fpb-1.2.1.zip
- llvm-17.0.1.202406-rl78-elf.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功