Class PlatformServiceGrpc.PlatformServiceBlockingV2Stub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<PlatformServiceGrpc.PlatformServiceBlockingV2Stub>
-
- io.axoniq.axonserver.grpc.control.PlatformServiceGrpc.PlatformServiceBlockingV2Stub
-
- Enclosing class:
- PlatformServiceGrpc
public static final class PlatformServiceGrpc.PlatformServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<PlatformServiceGrpc.PlatformServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service PlatformService.Service describing operations for connecting to the AxonServer platform. Clients are expected to use this service on any of the Platform's Admin nodes to obtain connection information of the node that it should set up the actual connection with. On that second node, the clients should open an instruction stream (see OpenStream), so that AxonServer and the client application can exchange information and instructions.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PlatformServiceGrpc.PlatformServiceBlockingV2Stubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)PlatformInfogetPlatformServer(ClientIdentification request)Obtains connection information for the Server that a Client should use for its connections.io.grpc.stub.BlockingClientCall<PlatformInboundInstruction,PlatformOutboundInstruction>openStream()Opens an instruction stream to the Platform, allowing AxonServer to provide management instructions to the application-
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 PlatformServiceGrpc.PlatformServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<PlatformServiceGrpc.PlatformServiceBlockingV2Stub>
-
getPlatformServer
public PlatformInfo getPlatformServer(ClientIdentification request) throws io.grpc.StatusException
Obtains connection information for the Server that a Client should use for its connections.
- Throws:
io.grpc.StatusException
-
openStream
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<PlatformInboundInstruction,PlatformOutboundInstruction> openStream()Opens an instruction stream to the Platform, allowing AxonServer to provide management instructions to the application
-
-