Package com.iotics.api
Class FeedAPIGrpc.FeedAPIFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<FeedAPIGrpc.FeedAPIFutureStub>
com.iotics.api.FeedAPIGrpc.FeedAPIFutureStub
- Enclosing class:
- FeedAPIGrpc
public static final class FeedAPIGrpc.FeedAPIFutureStub
extends io.grpc.stub.AbstractFutureStub<FeedAPIGrpc.FeedAPIFutureStub>
Create a feed owned by the provided twin. A twin may have one or more feeds. Any twin can subscribe to a feed (access control permitting). A feed generates data in a 1-to-many relationship: one feed may produce data that is used by many consumers (twins). Services only affect local resources, unless stated otherwise.
-
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 TypeMethodDescriptionprotected FeedAPIGrpc.FeedAPIFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<CreateFeedResponse>createFeed(CreateFeedRequest request) Creates a feed owned by a twin.com.google.common.util.concurrent.ListenableFuture<DeleteFeedResponse>deleteFeed(DeleteFeedRequest request) Deletes a feed owned by a twin.com.google.common.util.concurrent.ListenableFuture<DescribeFeedResponse>describeFeed(DescribeFeedRequest request) Describes a feed.com.google.common.util.concurrent.ListenableFuture<ListAllFeedsResponse>listAllFeeds(ListAllFeedsRequest request) Lists all feeds owned by a twin.com.google.common.util.concurrent.ListenableFuture<ShareFeedDataResponse>shareFeedData(ShareFeedDataRequest request) Shares a new sample of data for the given feed which any (interest) subscribers can receive.com.google.common.util.concurrent.ListenableFuture<UpdateFeedResponse>updateFeed(UpdateFeedRequest request) Updates attributes of a feed, including its metadata.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected FeedAPIGrpc.FeedAPIFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<FeedAPIGrpc.FeedAPIFutureStub>
-
createFeed
public com.google.common.util.concurrent.ListenableFuture<CreateFeedResponse> createFeed(CreateFeedRequest request) Creates a feed owned by a twin. (Idempotent)
-
deleteFeed
public com.google.common.util.concurrent.ListenableFuture<DeleteFeedResponse> deleteFeed(DeleteFeedRequest request) Deletes a feed owned by a twin. (Idempotent)
-
updateFeed
public com.google.common.util.concurrent.ListenableFuture<UpdateFeedResponse> updateFeed(UpdateFeedRequest request) Updates attributes of a feed, including its metadata.
-
listAllFeeds
public com.google.common.util.concurrent.ListenableFuture<ListAllFeedsResponse> listAllFeeds(ListAllFeedsRequest request) Lists all feeds owned by a twin.
-
describeFeed
public com.google.common.util.concurrent.ListenableFuture<DescribeFeedResponse> describeFeed(DescribeFeedRequest request) Describes a feed. (local and remote)
-