| 程序包 | 说明 |
|---|---|
| net.gdface.facelog.client |
| 类和说明 |
|---|
| IFaceLogThriftClientAsync
基于thrift/swift框架生成的client端代码提供
IFaceLog接口的异步RPC实现(线程安全)转发所有 IFaceLog接口方法到IFaceLogClient实例所有服务端抛出的 RuntimeException异常被封装到ServiceRuntimeException中抛出Example: IFaceLogThriftClientAsync thriftInstance = ClientFactory .builder() .setHostAndPort("127.0.0.1",26413) .build(IFaceLogThriftClientAsync.class); 计算机生成代码(generated by automated tools ThriftServiceDecoratorGenerator @author guyadong) |
Copyright © 2020. All Rights Reserved.