public static final class PlatformServiceGrpc.PlatformServiceStub extends io.grpc.stub.AbstractStub<PlatformServiceGrpc.PlatformServiceStub>
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.
Modifier and Type | Method and Description |
---|---|
protected PlatformServiceGrpc.PlatformServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
getPlatformServer(ClientIdentification request,
io.grpc.stub.StreamObserver<PlatformInfo> responseObserver)
Obtains connection information for the Server that a Client should use for its connections.
|
io.grpc.stub.StreamObserver<PlatformInboundInstruction> |
openStream(io.grpc.stub.StreamObserver<PlatformOutboundInstruction> responseObserver)
Opens an instruction stream to the Platform, allowing AxonServer to provide management instructions to the application
|
protected PlatformServiceGrpc.PlatformServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<PlatformServiceGrpc.PlatformServiceStub>
public void getPlatformServer(ClientIdentification request, io.grpc.stub.StreamObserver<PlatformInfo> responseObserver)
Obtains connection information for the Server that a Client should use for its connections.
public io.grpc.stub.StreamObserver<PlatformInboundInstruction> openStream(io.grpc.stub.StreamObserver<PlatformOutboundInstruction> responseObserver)
Opens an instruction stream to the Platform, allowing AxonServer to provide management instructions to the application
Copyright © 2010–2020. All rights reserved.