类 NativeCodeGrpc
java.lang.Object
com.baidu.xuper.contractpb.NativeCodeGrpc
public final class NativeCodeGrpc extends Object
service provided by chain code, called by xchain
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classNativeCodeGrpc.NativeCodeBlockingStubservice provided by chain code, called by xchainstatic classNativeCodeGrpc.NativeCodeFutureStubservice provided by chain code, called by xchainstatic classNativeCodeGrpc.NativeCodeImplBaseservice provided by chain code, called by xchainstatic classNativeCodeGrpc.NativeCodeStubservice provided by chain code, called by xchain -
字段概要
字段 修饰符和类型 字段 说明 static StringSERVICE_NAME -
方法概要
修饰符和类型 方法 说明 static io.grpc.MethodDescriptor<Contract.NativeCallRequest,Contract.NativeCallResponse>getCallMethod()static io.grpc.MethodDescriptor<Contract.PingRequest,Contract.PingResponse>getPingMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static NativeCodeGrpc.NativeCodeBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic NativeCodeGrpc.NativeCodeFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic NativeCodeGrpc.NativeCodeStubnewStub(io.grpc.Channel channel)Creates a new async stub that supports all call types for the service
-
字段详细资料
-
SERVICE_NAME
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
getCallMethod
public static io.grpc.MethodDescriptor<Contract.NativeCallRequest,Contract.NativeCallResponse> getCallMethod() -
getPingMethod
-
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-