Package io.dapr.v1
Class AppCallbackGrpc.AppCallbackBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<AppCallbackGrpc.AppCallbackBlockingStub>
-
- io.dapr.v1.AppCallbackGrpc.AppCallbackBlockingStub
-
- Enclosing class:
- AppCallbackGrpc
public static final class AppCallbackGrpc.AppCallbackBlockingStub extends io.grpc.stub.AbstractBlockingStub<AppCallbackGrpc.AppCallbackBlockingStub>
AppCallback V1 allows user application to interact with Dapr runtime. User application needs to implement AppCallback service if it needs to receive message from dapr runtime.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AppCallbackGrpc.AppCallbackBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)DaprAppCallbackProtos.ListInputBindingsResponselistInputBindings(com.google.protobuf.Empty request)Lists all input bindings subscribed by this app.DaprAppCallbackProtos.ListTopicSubscriptionsResponselistTopicSubscriptions(com.google.protobuf.Empty request)Lists all topics subscribed by this app.DaprAppCallbackProtos.BindingEventResponseonBindingEvent(DaprAppCallbackProtos.BindingEventRequest request)Listens events from the input bindings User application can save the states or send the events to the output bindings optionally by returning BindingEventResponse.CommonProtos.InvokeResponseonInvoke(CommonProtos.InvokeRequest request)Invokes service method with InvokeRequest.DaprAppCallbackProtos.TopicEventResponseonTopicEvent(DaprAppCallbackProtos.TopicEventRequest request)Subscribes events from Pubsub
-
-
-
Method Detail
-
build
protected AppCallbackGrpc.AppCallbackBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<AppCallbackGrpc.AppCallbackBlockingStub>
-
onInvoke
public CommonProtos.InvokeResponse onInvoke(CommonProtos.InvokeRequest request)
Invokes service method with InvokeRequest.
-
listTopicSubscriptions
public DaprAppCallbackProtos.ListTopicSubscriptionsResponse listTopicSubscriptions(com.google.protobuf.Empty request)
Lists all topics subscribed by this app.
-
onTopicEvent
public DaprAppCallbackProtos.TopicEventResponse onTopicEvent(DaprAppCallbackProtos.TopicEventRequest request)
Subscribes events from Pubsub
-
listInputBindings
public DaprAppCallbackProtos.ListInputBindingsResponse listInputBindings(com.google.protobuf.Empty request)
Lists all input bindings subscribed by this app.
-
onBindingEvent
public DaprAppCallbackProtos.BindingEventResponse onBindingEvent(DaprAppCallbackProtos.BindingEventRequest request)
Listens events from the input bindings User application can save the states or send the events to the output bindings optionally by returning BindingEventResponse.
-
-