Package smartrics.iotics.space.twins
Class FindAndBindTwin
java.lang.Object
smartrics.iotics.space.twins.AbstractTwin
smartrics.iotics.space.twins.AbstractTwinWithModel
smartrics.iotics.space.twins.FindAndDoTwin
smartrics.iotics.space.twins.FindAndBindTwin
-
Nested Class Summary
Nested classes/interfaces inherited from interface smartrics.iotics.space.twins.Follower
Follower.RetryConf -
Field Summary
FieldsFields inherited from class smartrics.iotics.space.twins.FindAndDoTwin
COUNTERS_FEED_ID, dtf, ERRORS_COUNT, errorsCount, FOLLOWING_FEEDS, FOUND_TWINS, keyName, RECEIVED_DATA_POINTS, TIMESTAMP, twinsFoundFields inherited from interface smartrics.iotics.space.twins.Follower
DEF_RETRY_POLICY_FOLLOW_BUILDER -
Constructor Summary
ConstructorsConstructorDescriptionFindAndBindTwin(IoticsApi api, String keyName, String label, Executor executor, TwinID modelDid, Timer shareDataTimer, Duration shareEvery, Follower.RetryConf retryConf) -
Method Summary
Modifier and TypeMethodDescriptionfindAndBind(SearchRequest.Payload searchRequestPayload, io.grpc.stub.StreamObserver<FeedDataBag> streamObserver) findAndBind(SearchRequest.Payload searchRequestPayload, io.grpc.stub.StreamObserver<TwinDataBag> twinStreamObserver, io.grpc.stub.StreamObserver<FeedDataBag> feedDataStreamObserver) Methods inherited from class smartrics.iotics.space.twins.FindAndDoTwin
make, shareStatus, updateMeta, updateMetaMethods inherited from class smartrics.iotics.space.twins.AbstractTwinWithModel
getModelDidMethods inherited from class smartrics.iotics.space.twins.AbstractTwin
getAgentIdentity, getIdentity, ioticsApiMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface smartrics.iotics.space.twins.Describer
describe, describe, describeMethods inherited from interface smartrics.iotics.space.twins.Follower
follow, follow, followNoRetry, getCancellableContextMethods inherited from interface smartrics.iotics.space.twins.Identifiable
getAgentIdentity, getIdentityMethods inherited from interface smartrics.iotics.space.twins.Maker
delete, getExecutor, makeIfAbsent
-
Field Details
-
retryConf
-
-
Constructor Details
-
FindAndBindTwin
-
-
Method Details
-
findAndBind
public CompletableFuture<Void> findAndBind(SearchRequest.Payload searchRequestPayload, io.grpc.stub.StreamObserver<FeedDataBag> streamObserver) -
findAndBind
public CompletableFuture<Void> findAndBind(SearchRequest.Payload searchRequestPayload, io.grpc.stub.StreamObserver<TwinDataBag> twinStreamObserver, io.grpc.stub.StreamObserver<FeedDataBag> feedDataStreamObserver)