io.vertx.grpc.server

## Interface GrpcServiceBridge

- All Known Subinterfaces:
    GrpcIoServiceBridge

      public interface GrpcServiceBridge

  Bridge a gRPC service with a `GrpcServer`.

- - ### Method Summary

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

- - ### Method Detail

    - #### bridge

          static GrpcServiceBridge bridge(io.grpc.ServerServiceDefinition service)

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

    - #### bridge

          static GrpcServiceBridge bridge(io.grpc.BindableService service)

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

    - #### bind

          void bind(GrpcServer server)

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

    - #### unbind

          void unbind(GrpcServer server)

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

Copyright © 2025 Eclipse. All rights reserved.