Interface GrpcEventBusBridge
- All Superinterfaces:
Service, ServiceInvoker
gRPC EventBus bridge for Vert.x.
This interface provides methods to create and manage a gRPC service that bridges the Vert.x EventBus to external clients using the gRPC protocol. It allows external applications to communicate with the Vert.x EventBus through gRPC, enabling cross-platform and cross-language communication.
The bridge supports operations like publishing messages, sending requests, subscribing to addresses, and handling responses from the EventBus.
-
Field Summary
Fields inherited from interface ServiceInvoker
DEFAULT_INSTANCE -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic GrpcEventBusBridgeBuilderCreate a builder for advanced configuration of the bridge.static GrpcEventBusBridgeCreates a new gRPC EventBus bridge service with default options and null bridge event handler.static GrpcEventBusBridgecreate(Vertx vertx, GrpcBridgeOptions options) Creates a new gRPC EventBus bridge service with the specified event bus and bridge options.Methods inherited from interface Service
close, descriptor, hasMethod, methodDescriptor, methodDescriptors, methods, name, pathOfMethodMethods inherited from interface ServiceInvoker
invoker
-
Method Details
-
builder
Create a builder for advanced configuration of the bridge.- Parameters:
vertx- the vertx instance- Returns:
- the builder
-
create
Creates a new gRPC EventBus bridge service with default options and null bridge event handler.- Parameters:
vertx- the Vert.x instance to use- Returns:
- a new instance of GrpcEventBusBridgeService
-
create
Creates a new gRPC EventBus bridge service with the specified event bus and bridge options.- Parameters:
vertx- the Vert.x instance to useoptions- the bridge options for controlling access to the EventBus- Returns:
- a new instance of GrpcEventBusBridgeService
-