Package atessera.sensei.grpc
Class ControlGrpc.ControlFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ControlGrpc.ControlFutureStub>
atessera.sensei.grpc.ControlGrpc.ControlFutureStub
- Enclosing class:
ControlGrpc
public static final class ControlGrpc.ControlFutureStub
extends io.grpc.stub.AbstractFutureStub<ControlGrpc.ControlFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Control.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<AddStudentReply>addStudent(AddStudentRequest request) protected ControlGrpc.ControlFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<TerminateReply>terminate(TerminateRequest request) Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ControlGrpc.ControlFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ControlGrpc.ControlFutureStub>
-
terminate
public com.google.common.util.concurrent.ListenableFuture<TerminateReply> terminate(TerminateRequest request) -
addStudent
public com.google.common.util.concurrent.ListenableFuture<AddStudentReply> addStudent(AddStudentRequest request)
-