Package com.iotics.api
Class InterestAPIGrpc.InterestAPIImplBase
java.lang.Object
com.iotics.api.InterestAPIGrpc.InterestAPIImplBase
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
- InterestAPIGrpc
public abstract static class InterestAPIGrpc.InterestAPIImplBase
extends Object
implements io.grpc.BindableService
InterestAPI enables creation and management of interests between a twin and a feed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal io.grpc.ServerServiceDefinitionvoidfetchInterests(FetchInterestRequest request, io.grpc.stub.StreamObserver<FetchInterestResponse> responseObserver) Fetch feed data for this interest.voidfetchLastStored(FetchLastStoredRequest request, io.grpc.stub.StreamObserver<FetchInterestResponse> responseObserver) Fetch last data shared on this interest.voidsendInputMessage(SendInputMessageRequest request, io.grpc.stub.StreamObserver<SendInputMessageResponse> responseObserver) Send a message to an input.
-
Constructor Details
-
InterestAPIImplBase
public InterestAPIImplBase()
-
-
Method Details
-
fetchInterests
public void fetchInterests(FetchInterestRequest request, io.grpc.stub.StreamObserver<FetchInterestResponse> responseObserver) Fetch feed data for this interest. (local and remote)
-
fetchLastStored
public void fetchLastStored(FetchLastStoredRequest request, io.grpc.stub.StreamObserver<FetchInterestResponse> responseObserver) Fetch last data shared on this interest. (local and remote)
-
sendInputMessage
public void sendInputMessage(SendInputMessageRequest request, io.grpc.stub.StreamObserver<SendInputMessageResponse> responseObserver) Send a message to an input. (local and remote)
-
bindService
public final io.grpc.ServerServiceDefinition bindService()- Specified by:
bindServicein interfaceio.grpc.BindableService
-