Package io.axoniq.axonserver.grpc.query
Class QueryServiceGrpc.QueryServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<QueryServiceGrpc.QueryServiceStub>
-
- io.axoniq.axonserver.grpc.query.QueryServiceGrpc.QueryServiceStub
-
- Enclosing class:
- QueryServiceGrpc
public static final class QueryServiceGrpc.QueryServiceStub extends io.grpc.stub.AbstractAsyncStub<QueryServiceGrpc.QueryServiceStub>
A stub to allow clients to do asynchronous rpc calls to service QueryService.Service providing operations for the Query Messaging component of AxonServer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected QueryServiceGrpc.QueryServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)io.grpc.stub.StreamObserver<QueryProviderOutbound>openStream(io.grpc.stub.StreamObserver<QueryProviderInbound> responseObserver)Opens a Query- and Instruction stream to AxonServer.voidquery(QueryRequest request, io.grpc.stub.StreamObserver<QueryResponse> responseObserver)Sends a point-to-point or scatter-gather Queryio.grpc.stub.StreamObserver<SubscriptionQueryRequest>subscription(io.grpc.stub.StreamObserver<SubscriptionQueryResponse> responseObserver)Opens a Subscription Query-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected QueryServiceGrpc.QueryServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<QueryServiceGrpc.QueryServiceStub>
-
openStream
public io.grpc.stub.StreamObserver<QueryProviderOutbound> openStream(io.grpc.stub.StreamObserver<QueryProviderInbound> responseObserver)
Opens a Query- and Instruction stream to AxonServer.
-
query
public void query(QueryRequest request, io.grpc.stub.StreamObserver<QueryResponse> responseObserver)
Sends a point-to-point or scatter-gather Query
-
subscription
public io.grpc.stub.StreamObserver<SubscriptionQueryRequest> subscription(io.grpc.stub.StreamObserver<SubscriptionQueryResponse> responseObserver)
Opens a Subscription Query
-
-