Interface EventBusBridgeClient

All Superinterfaces:
EventBusBridge
All Known Subinterfaces:
EventBusBridgeGrpcClient

public interface EventBusBridgeClient extends EventBusBridge

A client for invoking the EventBusBridge gRPC service.

  • Method Details

    • publish

      Future<com.google.protobuf.Empty> publish(PublishOp request)
      Calls the Publish RPC service method.
      Specified by:
      publish in interface EventBusBridge
      Parameters:
      request - the io.vertx.grpc.event.v1alpha.PublishOp request message
      Returns:
      a future of the com.google.protobuf.Empty response message
    • send

      Future<com.google.protobuf.Empty> send(SendOp request)
      Calls the Send RPC service method.
      Specified by:
      send in interface EventBusBridge
      Parameters:
      request - the io.vertx.grpc.event.v1alpha.SendOp request message
      Returns:
      a future of the com.google.protobuf.Empty response message
    • request

      Future<EventBusMessage> request(RequestOp request)
      Calls the Request RPC service method.
      Specified by:
      request in interface EventBusBridge
      Parameters:
      request - the io.vertx.grpc.event.v1alpha.RequestOp request message
      Returns:
      a future of the io.vertx.grpc.event.v1alpha.EventBusMessage response message
    • unsubscribe

      Future<com.google.protobuf.Empty> unsubscribe(UnsubscribeOp request)
      Calls the Unsubscribe RPC service method.
      Specified by:
      unsubscribe in interface EventBusBridge
      Parameters:
      request - the io.vertx.grpc.event.v1alpha.UnsubscribeOp request message
      Returns:
      a future of the com.google.protobuf.Empty response message
    • ping

      Future<com.google.protobuf.Empty> ping(com.google.protobuf.Empty request)
      Calls the Ping RPC service method.
      Specified by:
      ping in interface EventBusBridge
      Parameters:
      request - the com.google.protobuf.Empty request message
      Returns:
      a future of the com.google.protobuf.Empty response message
    • subscribe

      Calls the Subscribe RPC service method.
      Specified by:
      subscribe in interface EventBusBridge
      Parameters:
      request - the io.vertx.grpc.event.v1alpha.SubscribeOp request message
      Returns:
      a future of the io.vertx.grpc.event.v1alpha.EventBusMessage response messages