Package io.vertx.grpcio.server

## Interface GrpcIoServiceBridge

-     public interface GrpcIoServiceBridge

  Bridge a gRPC service with a `GrpcServer`.

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `bind​(GrpcIoServer server)` | Bind all service methods to the @{code server}.
    `static GrpcIoServiceBridge` | `bridge​(BindableService service)` | Create a stub for a given `service`.
    `static GrpcIoServiceBridge` | `bridge​(ServerServiceDefinition service)` | Create a stub for a given `service`.
    `void` | `unbind​(GrpcIoServer server)` | Unbind all service methods from the @{code server}.

- - ### Method Detail

    - #### bridge

          static GrpcIoServiceBridge bridge​(ServerServiceDefinition service)

      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​(GrpcIoServer server)

      Bind all service methods to the @{code server}.
      Parameters:
        `server` - the server to bind to

    - #### unbind

          void unbind​(GrpcIoServer server)

      Unbind all service methods from the @{code server}.
      Parameters:
        `server` - the server to unbind from