Package com.salesforce.eventbus.protobuf
Class PubSubGrpc.PubSubImplBase
java.lang.Object
com.salesforce.eventbus.protobuf.PubSubGrpc.PubSubImplBase
- All Implemented Interfaces:
PubSubGrpc.AsyncService
,io.grpc.BindableService
- Enclosing class:
- PubSubGrpc
public abstract static class PubSubGrpc.PubSubImplBase
extends Object
implements io.grpc.BindableService, PubSubGrpc.AsyncService
Base class for the server implementation of the service PubSub.
The Pub/Sub API provides a single interface for publishing and subscribing to platform events, including real-time event monitoring events, and change data capture events. The Pub/Sub API is a gRPC API that is based on HTTP/2. A session token is needed to authenticate. Any of the Salesforce supported OAuth flows can be used to obtain a session token: https://help.salesforce.com/articleView?id=sf.remoteaccess_oauth_flows.htm&type=5 For each RPC, a client needs to pass authentication information as metadata headers (https://www.grpc.io/docs/guides/concepts/#metadata) with their method call. For Salesforce session token authentication, use: accesstoken : access token instanceurl : Salesforce instance URL tenantid : tenant/org id of the client StatusException is thrown in case of response failure for any request.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.salesforce.eventbus.protobuf.PubSubGrpc.AsyncService
getSchema, getTopic, publish, publishStream, subscribe
-
Constructor Details
-
PubSubImplBase
public PubSubImplBase()
-
-
Method Details
-
bindService
public final io.grpc.ServerServiceDefinition bindService()- Specified by:
bindService
in interfaceio.grpc.BindableService
-