Package com.iotics.api
Class FeedAPIGrpc.FeedAPIBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<FeedAPIGrpc.FeedAPIBlockingStub>
com.iotics.api.FeedAPIGrpc.FeedAPIBlockingStub
- Enclosing class:
- FeedAPIGrpc
public static final class FeedAPIGrpc.FeedAPIBlockingStub
extends io.grpc.stub.AbstractBlockingStub<FeedAPIGrpc.FeedAPIBlockingStub>
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.FeedAPIBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createFeed(CreateFeedRequest request) Creates a feed owned by a twin.deleteFeed(DeleteFeedRequest request) Deletes a feed owned by a twin.describeFeed(DescribeFeedRequest request) Describes a feed.listAllFeeds(ListAllFeedsRequest request) Lists all feeds owned by a twin.shareFeedData(ShareFeedDataRequest request) Shares a new sample of data for the given feed which any (interest) subscribers can receive.updateFeed(UpdateFeedRequest request) Updates attributes of a feed, including its metadata.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.FeedAPIBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<FeedAPIGrpc.FeedAPIBlockingStub>
-
createFeed
Creates a feed owned by a twin. (Idempotent)
-
deleteFeed
Deletes a feed owned by a twin. (Idempotent)
-
updateFeed
Updates attributes of a feed, including its metadata.
-
listAllFeeds
Lists all feeds owned by a twin.
-
describeFeed
Describes a feed. (local and remote)
-