Package io.dapr.v1
Class AppCallbackAlphaGrpc.AppCallbackAlphaFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<AppCallbackAlphaGrpc.AppCallbackAlphaFutureStub>
io.dapr.v1.AppCallbackAlphaGrpc.AppCallbackAlphaFutureStub
- Enclosing class:
- AppCallbackAlphaGrpc
public static final class AppCallbackAlphaGrpc.AppCallbackAlphaFutureStub
extends io.grpc.stub.AbstractFutureStub<AppCallbackAlphaGrpc.AppCallbackAlphaFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service AppCallbackAlpha.
AppCallbackAlpha V1 is an optional extension to AppCallback V1 to opt for Alpha RPCs.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<DaprAppCallbackProtos.TopicEventBulkResponse>
Subscribes bulk events from Pubsubcom.google.common.util.concurrent.ListenableFuture<DaprAppCallbackProtos.JobEventResponse>
Sends job back to the app's endpoint at trigger time.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected AppCallbackAlphaGrpc.AppCallbackAlphaFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<AppCallbackAlphaGrpc.AppCallbackAlphaFutureStub>
-
onBulkTopicEventAlpha1
public com.google.common.util.concurrent.ListenableFuture<DaprAppCallbackProtos.TopicEventBulkResponse> onBulkTopicEventAlpha1(DaprAppCallbackProtos.TopicEventBulkRequest request) Subscribes bulk events from Pubsub
-
onJobEventAlpha1
public com.google.common.util.concurrent.ListenableFuture<DaprAppCallbackProtos.JobEventResponse> onJobEventAlpha1(DaprAppCallbackProtos.JobEventRequest request) Sends job back to the app's endpoint at trigger time.
-