Package com.iotics.api
Class InterestAPIGrpc.InterestAPIStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<InterestAPIGrpc.InterestAPIStub>
com.iotics.api.InterestAPIGrpc.InterestAPIStub
- Enclosing class:
- InterestAPIGrpc
public static final class InterestAPIGrpc.InterestAPIStub
extends io.grpc.stub.AbstractAsyncStub<InterestAPIGrpc.InterestAPIStub>
InterestAPI enables creation and management of interests between a twin and a feed.
-
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 InterestAPIGrpc.InterestAPIStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidfetchInterests(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.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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 InterestAPIGrpc.InterestAPIStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<InterestAPIGrpc.InterestAPIStub>
-
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)
-