Class FeedAPIGrpc.FeedAPIImplBase

java.lang.Object
com.iotics.api.FeedAPIGrpc.FeedAPIImplBase
All Implemented Interfaces:
io.grpc.BindableService
Enclosing class:
FeedAPIGrpc

public abstract static class FeedAPIGrpc.FeedAPIImplBase extends Object implements io.grpc.BindableService
 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.
 
  • Constructor Details

    • FeedAPIImplBase

      public FeedAPIImplBase()
  • Method Details

    • createFeed

      public void createFeed(CreateFeedRequest request, io.grpc.stub.StreamObserver<CreateFeedResponse> responseObserver)
       Creates a feed owned by a twin. (Idempotent)
       
    • deleteFeed

      public void deleteFeed(DeleteFeedRequest request, io.grpc.stub.StreamObserver<DeleteFeedResponse> responseObserver)
       Deletes a feed owned by a twin. (Idempotent)
       
    • updateFeed

      public void updateFeed(UpdateFeedRequest request, io.grpc.stub.StreamObserver<UpdateFeedResponse> responseObserver)
       Updates attributes of a feed, including its metadata.
       
    • shareFeedData

      public void shareFeedData(ShareFeedDataRequest request, io.grpc.stub.StreamObserver<ShareFeedDataResponse> responseObserver)
       Shares a new sample of data for the given feed which any (interest) subscribers can receive.
       
    • listAllFeeds

      public void listAllFeeds(ListAllFeedsRequest request, io.grpc.stub.StreamObserver<ListAllFeedsResponse> responseObserver)
       Lists all feeds owned by a twin.
       
    • describeFeed

      public void describeFeed(DescribeFeedRequest request, io.grpc.stub.StreamObserver<DescribeFeedResponse> responseObserver)
       Describes a feed. (local and remote)
       
    • bindService

      public final io.grpc.ServerServiceDefinition bindService()
      Specified by:
      bindService in interface io.grpc.BindableService