[BindServiceMethod(typeof(Publisher), "BindService")]
public abstract class PublisherBaseBase class for server-side implementations of Publisher
Namespace
Google.Cloud.Eventarc.Publishing.V1Assembly
Google.Cloud.Eventarc.Publishing.V1.dll
Methods
PublishChannelConnectionEvents(PublishChannelConnectionEventsRequest, ServerCallContext)
public virtual Task<PublishChannelConnectionEventsResponse> PublishChannelConnectionEvents(PublishChannelConnectionEventsRequest request, ServerCallContext context)Publish events to a ChannelConnection in a partner's project.
| Parameters | |
|---|---|
| Name | Description |
request |
PublishChannelConnectionEventsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<PublishChannelConnectionEventsResponse> |
The response to send back to the client (wrapped by a task). |
PublishEvents(PublishEventsRequest, ServerCallContext)
public virtual Task<PublishEventsResponse> PublishEvents(PublishEventsRequest request, ServerCallContext context)Publish events to a subscriber's channel.
| Parameters | |
|---|---|
| Name | Description |
request |
PublishEventsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<PublishEventsResponse> |
The response to send back to the client (wrapped by a task). |