Package atessera.sensei.grpc
Class ControlGrpc.ControlBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ControlGrpc.ControlBlockingV2Stub>
atessera.sensei.grpc.ControlGrpc.ControlBlockingV2Stub
- Enclosing class:
ControlGrpc
public static final class ControlGrpc.ControlBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<ControlGrpc.ControlBlockingV2Stub>
A stub to allow clients to do synchronous 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 TypeMethodDescriptionaddStudent(AddStudentRequest request) protected ControlGrpc.ControlBlockingV2Stubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) deleteStudent(DeleteStudentRequest request) getStudents(GetStudentsRequest request) resumeStudent(ResumeStudentRequest request) suspendStudent(SuspendStudentRequest request) terminate(TerminateRequest request) updateStudent(UpdateStudentRequest request) Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.ControlBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ControlGrpc.ControlBlockingV2Stub>
-
terminate
- Throws:
io.grpc.StatusException
-
addStudent
- Throws:
io.grpc.StatusException
-
updateStudent
public UpdateStudentReply updateStudent(UpdateStudentRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
deleteStudent
public DeleteStudentReply deleteStudent(DeleteStudentRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
suspendStudent
public SuspendStudentReply suspendStudent(SuspendStudentRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
resumeStudent
public ResumeStudentReply resumeStudent(ResumeStudentRequest request) throws io.grpc.StatusException - Throws:
io.grpc.StatusException
-
getStudents
- Throws:
io.grpc.StatusException
-