Package com.iotics.api
Class TwinAPIGrpc.TwinAPIBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<TwinAPIGrpc.TwinAPIBlockingStub>
com.iotics.api.TwinAPIGrpc.TwinAPIBlockingStub
- Enclosing class:
- TwinAPIGrpc
public static final class TwinAPIGrpc.TwinAPIBlockingStub
extends io.grpc.stub.AbstractBlockingStub<TwinAPIGrpc.TwinAPIBlockingStub>
TwinAPI enables creation and management of Iotics 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 TwinAPIGrpc.TwinAPIBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createTwin(CreateTwinRequest request) CreateTwin creates a twin.deleteTwin(DeleteTwinRequest request) DeleteTwin deletes a twin.describeTwin(DescribeTwinRequest request) Describes a twin.listAllTwins(ListAllTwinsRequest request) List all twins.updateTwin(UpdateTwinRequest request) UpdateTwin updates a twin (partial update).upsertTwin(UpsertTwinRequest request) UpsertTwin creates or update a twin with its metadata + the twin feeds with their 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 TwinAPIGrpc.TwinAPIBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<TwinAPIGrpc.TwinAPIBlockingStub>
-
createTwin
CreateTwin creates a twin.
-
upsertTwin
UpsertTwin creates or update a twin with its metadata + the twin feeds with their metadata. The full state is applied (ie. if the operation succeeds the state of the twin/feeds will be the one described in the payload)
-
deleteTwin
DeleteTwin deletes a twin.
-
updateTwin
UpdateTwin updates a twin (partial update).
-
describeTwin
Describes a twin. (local and remote)
-
listAllTwins
List all twins.
-