Interface GrpcIoServiceBridge

All Superinterfaces:
Service, ServiceInvoker

public interface GrpcIoServiceBridge extends Service
Bridge a gRPC service with a ServiceContainer.
  • Method Details

    • bridge

      Create a stub for a given service.
      Parameters:
      service - the service
      Returns:
      the stub
    • bridge

      static GrpcIoServiceBridge bridge(BindableService service)
      Create a stub for a given service.
      Parameters:
      service - the service
      Returns:
      the stub
    • bind

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

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