类 NativeCodeGrpc.NativeCodeStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<NativeCodeGrpc.NativeCodeStub>
com.baidu.xuper.contractpb.NativeCodeGrpc.NativeCodeStub
- 封闭类:
- NativeCodeGrpc
public static final class NativeCodeGrpc.NativeCodeStub extends io.grpc.stub.AbstractAsyncStub<NativeCodeGrpc.NativeCodeStub>
service provided by chain code, called by xchain
-
嵌套类概要
从类继承的嵌套类/接口 io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
方法概要
修饰符和类型 方法 说明 protected NativeCodeGrpc.NativeCodeStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidcall(Contract.NativeCallRequest request, io.grpc.stub.StreamObserver<Contract.NativeCallResponse> responseObserver)voidping(Contract.PingRequest request, io.grpc.stub.StreamObserver<Contract.PingResponse> responseObserver)从类继承的方法 io.grpc.stub.AbstractAsyncStub
newStub, newStub从类继承的方法 io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
方法详细资料
-
build
protected NativeCodeGrpc.NativeCodeStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)- 指定者:
build在类中io.grpc.stub.AbstractStub<NativeCodeGrpc.NativeCodeStub>
-
call
public void call(Contract.NativeCallRequest request, io.grpc.stub.StreamObserver<Contract.NativeCallResponse> responseObserver) -
ping
public void ping(Contract.PingRequest request, io.grpc.stub.StreamObserver<Contract.PingResponse> responseObserver)
-