Interface GrpcIoServiceBridge

  • All Superinterfaces:
    Service

    public interface GrpcIoServiceBridge
    extends Service
    Bridge a gRPC service with a GrpcServer.
    • Method Detail

      • bind

        void bind​(GrpcIoServer server)
        Bind all service methods to the @{code server}.
        Parameters:
        server - the server to bind to
      • bind

        default void bind​(GrpcServer server)
        Description copied from interface: Service
        Binds this service and all its registered method handlers to the specified gRPC server. This allows the server to handle requests for this service.
        Specified by:
        bind in interface Service
        Parameters:
        server - the gRPC server to bind this service to
      • unbind

        void unbind​(GrpcIoServer server)
        Unbind all service methods from the @{code server}.
        Parameters:
        server - the server to unbind from