Interface PlatformServiceGrpc.AsyncService

  • All Known Implementing Classes:
    PlatformServiceGrpc.PlatformServiceImplBase
    Enclosing class:
    PlatformServiceGrpc

    public static interface PlatformServiceGrpc.AsyncService
     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 Detail

      • getPlatformServer

        default void getPlatformServer​(ClientIdentification request,
                                       io.grpc.stub.StreamObserver<PlatformInfo> responseObserver)
         Obtains connection information for the Server that a Client should use for its connections. 
         
      • openStream

        default 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