Class EventBusBridgeService
java.lang.Object
io.vertx.grpc.event.v1alpha.EventBusBridgeService
- All Implemented Interfaces:
EventBusBridge
- Direct Known Subclasses:
EventBusBridgeGrpcService
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFuture<com.google.protobuf.Empty> ping(com.google.protobuf.Empty request) Override this method to implement the Ping RPC.protected voidping(com.google.protobuf.Empty request, Completable<com.google.protobuf.Empty> response) Future<com.google.protobuf.Empty> Override this method to implement the Publish RPC.protected voidpublish(PublishOp request, Completable<com.google.protobuf.Empty> response) Override this method to implement the Request RPC.protected voidrequest(RequestOp request, Completable<EventBusMessage> response) Future<com.google.protobuf.Empty> Override this method to implement the Send RPC.protected voidsend(SendOp request, Completable<com.google.protobuf.Empty> response) subscribe(SubscribeOp request) Override this method to implement the Subscribe RPC.protected voidsubscribe(SubscribeOp request, WriteStream<EventBusMessage> response) Future<com.google.protobuf.Empty> unsubscribe(UnsubscribeOp request) Override this method to implement the Unsubscribe RPC.protected voidunsubscribe(UnsubscribeOp request, Completable<com.google.protobuf.Empty> response)
-
Constructor Details
-
EventBusBridgeService
public EventBusBridgeService()
-
-
Method Details
-
publish
Override this method to implement the Publish RPC.- Specified by:
publishin interfaceEventBusBridge
-
publish
-
send
Override this method to implement the Send RPC.- Specified by:
sendin interfaceEventBusBridge
-
send
-
request
Override this method to implement the Request RPC.- Specified by:
requestin interfaceEventBusBridge
-
request
-
unsubscribe
Override this method to implement the Unsubscribe RPC.- Specified by:
unsubscribein interfaceEventBusBridge
-
unsubscribe
-
ping
Override this method to implement the Ping RPC.- Specified by:
pingin interfaceEventBusBridge
-
ping
protected void ping(com.google.protobuf.Empty request, Completable<com.google.protobuf.Empty> response) -
subscribe
Override this method to implement the Subscribe RPC.- Specified by:
subscribein interfaceEventBusBridge
-
subscribe
-