Class EventBusBridgeGrpcService
java.lang.Object
io.vertx.grpc.event.v1alpha.EventBusBridgeService
io.vertx.grpc.event.v1alpha.EventBusBridgeGrpcService
- All Implemented Interfaces:
EventBusBridge, Service, ServiceInvoker
Provides support for RPC methods implementations of the EventBusBridge gRPC service.
The following methods of this class should be overridden to provide an implementation of the service:
- Publish
- Send
- Request
- Subscribe
- Unsubscribe
- Ping
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServiceMethod<com.google.protobuf.Empty, com.google.protobuf.Empty> Ping protobuf RPC server service method.static final ServiceMethod<PublishOp, com.google.protobuf.Empty> Publish protobuf RPC server service method.static final ServiceMethod<RequestOp, EventBusMessage> Request protobuf RPC server service method.static final ServiceMethod<SendOp, com.google.protobuf.Empty> Send protobuf RPC server service method.static final com.google.protobuf.Descriptors.ServiceDescriptorEventBusBridge service descriptor.static final ServiceNameEventBusBridge service name.static final ServiceMethod<SubscribeOp, EventBusMessage> Subscribe protobuf RPC server service method.static final ServiceMethod<UnsubscribeOp, com.google.protobuf.Empty> Unsubscribe protobuf RPC server service method.Fields inherited from interface ServiceInvoker
DEFAULT_INSTANCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ServiceMethod<?, ?>> all()builder(EventBusBridgeService service) com.google.protobuf.Descriptors.ServiceDescriptorGet the service descriptor that contains detailed information about the service.<Req,Resp> ServiceMethodInvoker <Req, Resp> invoker(ServiceMethod<Req, Resp> method) Obtain a service method invoker.List<ServiceMethod<?, ?>> methods()Get the list of all methods implemented by this service.name()Get the name of the service.static Serviceof(EventBusBridgeService service) Methods inherited from class EventBusBridgeService
ping, ping, publish, publish, request, request, send, send, subscribe, subscribe, unsubscribe, unsubscribeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Service
close, hasMethod, methodDescriptor, methodDescriptors, pathOfMethod
-
Field Details
-
SERVICE_NAME
EventBusBridge service name. -
SERVICE_DESCRIPTOR
public static final com.google.protobuf.Descriptors.ServiceDescriptor SERVICE_DESCRIPTOREventBusBridge service descriptor. -
Publish
Publish protobuf RPC server service method. -
Send
Send protobuf RPC server service method. -
Request
Request protobuf RPC server service method. -
Subscribe
Subscribe protobuf RPC server service method. -
Unsubscribe
Unsubscribe protobuf RPC server service method. -
Ping
Ping protobuf RPC server service method.
-
-
Constructor Details
-
EventBusBridgeGrpcService
public EventBusBridgeGrpcService()
-
-
Method Details
-
name
Description copied from interface:ServiceGet the name of the service. -
descriptor
public com.google.protobuf.Descriptors.ServiceDescriptor descriptor()Description copied from interface:ServiceGet the service descriptor that contains detailed information about the service.- Specified by:
descriptorin interfaceService- Returns:
- the service descriptor
-
of
- Returns:
- a service binding all methods of the given
service
-
all
- Returns:
- a mutable list of the known protobuf RPC server service methods.
-
invoker
Description copied from interface:ServiceInvokerObtain a service method invoker.- Specified by:
invokerin interfaceServiceInvoker- Parameters:
method- the service method
-
methods
Description copied from interface:ServiceGet the list of all methods implemented by this service. -
builder
- Returns:
- a free form builder that gives the opportunity to bind only certain methods of a service
-