Class PlatformServiceGrpc.PlatformServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<PlatformServiceGrpc.PlatformServiceFutureStub>
-
- io.axoniq.axonserver.grpc.control.PlatformServiceGrpc.PlatformServiceFutureStub
-
- Enclosing class:
- PlatformServiceGrpc
public static final class PlatformServiceGrpc.PlatformServiceFutureStub extends io.grpc.stub.AbstractFutureStub<PlatformServiceGrpc.PlatformServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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.PlatformServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<PlatformInfo>getPlatformServer(ClientIdentification request)Obtains connection information for the Server that a Client should use for its connections.-
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.PlatformServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<PlatformServiceGrpc.PlatformServiceFutureStub>
-
getPlatformServer
public com.google.common.util.concurrent.ListenableFuture<PlatformInfo> getPlatformServer(ClientIdentification request)
Obtains connection information for the Server that a Client should use for its connections.
-
-