Interface EventBusBridgeGrpcClient
- All Superinterfaces:
EventBusBridge, EventBusBridgeClient
A client for invoking the EventBusBridge gRPC service.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServiceMethod<com.google.protobuf.Empty, com.google.protobuf.Empty> Ping protobuf RPC client service method.static final ServiceMethod<com.google.protobuf.Empty, PublishOp> Publish protobuf RPC client service method.static final ServiceMethod<EventBusMessage, RequestOp> Request protobuf RPC client service method.static final ServiceMethod<com.google.protobuf.Empty, SendOp> Send protobuf RPC client service method.static final ServiceMethod<EventBusMessage, SubscribeOp> Subscribe protobuf RPC client service method.static final ServiceMethod<com.google.protobuf.Empty, UnsubscribeOp> Unsubscribe protobuf RPC client service method. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic EventBusBridgeGrpcClientcreate(GrpcClient client, SocketAddress host) Create and return a EventBusBridge gRPC service client.static EventBusBridgeGrpcClientcreate(GrpcClient client, SocketAddress host, WireFormat wireFormat) Create and return a EventBusBridge gRPC service client.static EventBusBridgeGrpcClientcreate(ServiceInvoker client) Create and return a EventBusBridge gRPC service client.static EventBusBridgeGrpcClientcreate(ServiceInvoker client, WireFormat wireFormat) Create and return a EventBusBridge gRPC service client.Methods inherited from interface EventBusBridgeClient
ping, publish, request, send, subscribe, unsubscribe
-
Field Details
-
Publish
Publish protobuf RPC client service method. -
Send
Send protobuf RPC client service method. -
Request
Request protobuf RPC client service method. -
Subscribe
Subscribe protobuf RPC client service method. -
Unsubscribe
Unsubscribe protobuf RPC client service method. -
Ping
Ping protobuf RPC client service method.
-
-
Method Details
-
create
Create and return a EventBusBridge gRPC service client. The assumed wire format is Protobuf.- Parameters:
client- the gRPC clienthost- the host providing the service- Returns:
- the configured client
-
create
static EventBusBridgeGrpcClient create(GrpcClient client, SocketAddress host, WireFormat wireFormat) Create and return a EventBusBridge gRPC service client.- Parameters:
client- the gRPC clienthost- the host providing the servicewireFormat- the wire format- Returns:
- the configured client
-
create
Create and return a EventBusBridge gRPC service client. The assumed wire format is Protobuf.- Parameters:
client- the gRPC client service- Returns:
- the configured client
-
create
Create and return a EventBusBridge gRPC service client.- Parameters:
client- the gRPC client servicewireFormat- the wire format- Returns:
- the configured client
-