Class QuestionsGrpc.QuestionsBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<QuestionsGrpc.QuestionsBlockingStub>
-
- com.streamlayer.interactive.question.QuestionsGrpc.QuestionsBlockingStub
-
- Enclosing class:
- QuestionsGrpc
public static final class QuestionsGrpc.QuestionsBlockingStub extends io.grpc.stub.AbstractBlockingStub<QuestionsGrpc.QuestionsBlockingStub>
A stub to allow clients to do synchronous rpc calls to service Questions.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected QuestionsGrpc.QuestionsBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)CreateResponsecreate(CreateRequest request)DeleteResponsedelete(DeleteRequest request)ListResponselist(ListRequest request)RestoreResponserestore(RestoreRequest request)ReviewResponsereview(ReviewRequest request)SetCorrectAnswerResponsesetCorrectAnswer(SetCorrectAnswerRequest request)SetMarketClosedResponsesetMarketClosed(SetMarketClosedRequest request)SetPositionResponsesetPosition(SetPositionRequest request)SetStatusResponsesetStatus(SetStatusRequest request)StatsResponsestats(StatsRequest request)UpdateResponseupdate(UpdateRequest request)-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected QuestionsGrpc.QuestionsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<QuestionsGrpc.QuestionsBlockingStub>
-
create
public CreateResponse create(CreateRequest request)
-
delete
public DeleteResponse delete(DeleteRequest request)
-
restore
public RestoreResponse restore(RestoreRequest request)
-
update
public UpdateResponse update(UpdateRequest request)
-
review
public ReviewResponse review(ReviewRequest request)
-
list
public ListResponse list(ListRequest request)
-
setStatus
public SetStatusResponse setStatus(SetStatusRequest request)
-
setMarketClosed
public SetMarketClosedResponse setMarketClosed(SetMarketClosedRequest request)
-
setPosition
public SetPositionResponse setPosition(SetPositionRequest request)
-
setCorrectAnswer
public SetCorrectAnswerResponse setCorrectAnswer(SetCorrectAnswerRequest request)
-
stats
public StatsResponse stats(StatsRequest request)
-
-