- addAttribute(String, Class<T>, CloudioAttributeConstraint) - Method in class ch.hevs.cloudio.endpoint.CloudioAdLibObject
-
Adds a new attribute of the given type (class) and the given name to the object.
- addAttribute(String, Class<T>, CloudioAttributeConstraint, T) - Method in class ch.hevs.cloudio.endpoint.CloudioAdLibObject
-
Adds a new attribute of the given type (class) and the given name to the object.
- addEndpointListener(CloudioEndpointListener) - Method in class ch.hevs.cloudio.endpoint.CloudioEndpoint
-
- addEndpointListener(CloudioEndpointListener) - Method in interface ch.hevs.cloudio.endpoint.CloudioEndpointService
-
Adds the given listener to the endpoint service.
- addListener(CloudioAttributeListener) - Method in class ch.hevs.cloudio.endpoint.CloudioAttribute
-
Adds the given listener to the list of listeners that will get informed about a change of the attribute.
- addNode(String, CloudioNode) - Method in class ch.hevs.cloudio.endpoint.CloudioEndpoint
-
- addNode(String, CloudioNode) - Method in interface ch.hevs.cloudio.endpoint.CloudioEndpointService
-
Adds the given node to the endpoint.
- addNode(String, Class<T>) - Method in class ch.hevs.cloudio.endpoint.CloudioEndpoint
-
- addNode(String, Class<T>) - Method in interface ch.hevs.cloudio.endpoint.CloudioEndpointService
-
Adds a new node instance of the given node class to the endpoint.
- addObject(String, CloudioObject) - Method in class ch.hevs.cloudio.endpoint.CloudioAdLibNode
-
Adds the given object to this custom node under the given name.
- addObject(String, CloudioObject) - Method in class ch.hevs.cloudio.endpoint.CloudioAdLibObject
-
Adds the given object to this custom object under the given name.
- addObject(String, Class<T>) - Method in class ch.hevs.cloudio.endpoint.CloudioAdLibNode
-
Adds an object of the given class with the given name to the custom node.
- addObject(String, Class<T>) - Method in class ch.hevs.cloudio.endpoint.CloudioAdLibObject
-
Adds an object of the given class with the given name to the custom object.
- attribute(String, Class<T>, CloudioAttributeConstraint, T) - Method in class ch.hevs.cloudio.endpoint.CloudioAdLibObject.Builder
-
Adds a new attribute of the given type (class) and the given name to the object and initializes the attribute
with the given initial value.
- attribute(String, Class<T>, CloudioAttributeConstraint, T, CloudioAttributeListener<T>) - Method in class ch.hevs.cloudio.endpoint.CloudioAdLibObject.Builder
-
Adds a new attribute of the given type (class) and the given name to the object, initializes the attribute
with the given initial value and adds the given attribute listener to the attribute.
- attribute(String, Class, CloudioAttributeConstraint) - Method in class ch.hevs.cloudio.endpoint.CloudioAdLibObject.Builder
-
Adds a new attribute of the given type (class) and the given name to the object.
- attribute(String, Class, CloudioAttributeConstraint, CloudioAttributeListener) - Method in class ch.hevs.cloudio.endpoint.CloudioAdLibObject.Builder
-
Adds a new attribute of the given type (class) and the given name to the object and adds the given attribute
listener to the attribute.
- attributeHasChanged(CloudioAttribute<T>) - Method in interface ch.hevs.cloudio.endpoint.CloudioAttributeListener
-
This method is called upon an attribute has been changed.
- ch.hevs.cloudio.endpoint - package ch.hevs.cloudio.endpoint
-
- ch.hevs.utils - package ch.hevs.utils
-
- close() - Method in class ch.hevs.cloudio.endpoint.CloudioEndpoint
-
- CloudioAdLibNode - Class in ch.hevs.cloudio.endpoint
-
The CloudioAdLibNode class allows you to create the structure of a cloud.iO node at runtime in contrast to the static model
used by the CloudioNode class.
- CloudioAdLibNode() - Constructor for class ch.hevs.cloudio.endpoint.CloudioAdLibNode
-
Creates a new custom (runtime constructable) node.
- CloudioAdLibNode.Builder - Class in ch.hevs.cloudio.endpoint
-
Builder to enable convenient custom node instantiation.
- CloudioAdLibObject - Class in ch.hevs.cloudio.endpoint
-
The CloudioAdLibObject class allows you to create the structure of a cloud.iO node at runtime in contrast to the static
model used by the CloudioObject class.
- CloudioAdLibObject() - Constructor for class ch.hevs.cloudio.endpoint.CloudioAdLibObject
-
- CloudioAdLibObject.Builder - Class in ch.hevs.cloudio.endpoint
-
Builder to enable convenient custom object creation.
- CloudioAttribute<T> - Class in ch.hevs.cloudio.endpoint
-
The leafs of a cloud.io data model consists of attributes.
- CloudioAttributeConstraint - Enum in ch.hevs.cloudio.endpoint
-
Defines the different possible attribute constraints.
- CloudioAttributeConstraintException - Exception in ch.hevs.cloudio.endpoint
-
Exception indicating that either the endpoint or the cloud do not have the right to change an attribute.
- CloudioAttributeInitializationException - Exception in ch.hevs.cloudio.endpoint
-
This exception is thrown if the initialization of an attribute was not possible.
- CloudioAttributeListener<T> - Interface in ch.hevs.cloudio.endpoint
-
This interface enables an application object to get notified as soon as there was a new value set to an attribute.
- CloudioEndpoint - Class in ch.hevs.cloudio.endpoint
-
An Endpoint is the root object of any connection of a device or a gateway to cloud.io.
- CloudioEndpoint(String) - Constructor for class ch.hevs.cloudio.endpoint.CloudioEndpoint
-
Constructs a new Endpoint object using the given UUID.
- CloudioEndpoint(String, Properties) - Constructor for class ch.hevs.cloudio.endpoint.CloudioEndpoint
-
Constructs a new CloudioEndpoint object using the given UUID and properties.
- CloudioEndpoint(String, Properties, CloudioEndpointListener) - Constructor for class ch.hevs.cloudio.endpoint.CloudioEndpoint
-
Constructs a new CloudioEndpoint object using the given UUID and properties.
- CloudioEndpointConfiguration - Interface in ch.hevs.cloudio.endpoint
-
Interface a configuration source for a cloud.io endpoint has to implement.
- CloudioEndpointInitializationException - Exception in ch.hevs.cloudio.endpoint
-
This exception is thrown whenever the initialisation of an endpoint caused an exception.
- CloudioEndpointListener - Interface in ch.hevs.cloudio.endpoint
-
Interface used to inform another object about the actual state of the endpoint.
- CloudioEndpointService - Interface in ch.hevs.cloudio.endpoint
-
A CloudioEndpoint is the root object of any connection of a device or a gateway to cloud.io.
- CloudioModificationException - Exception in ch.hevs.cloudio.endpoint
-
- CloudioNode - Class in ch.hevs.cloudio.endpoint
-
A Node instance can represent a functionality of a given endpoint device or a connected device in the case the
endpoint device is a gateway which connects wireless or wired devices with the cloud.
- CloudioNode() - Constructor for class ch.hevs.cloudio.endpoint.CloudioNode
-
- CloudioObject - Class in ch.hevs.cloudio.endpoint
-
Base class for all cloud.iO objects.
- CloudioObject() - Constructor for class ch.hevs.cloudio.endpoint.CloudioObject
-
- conforms(String) - Method in class ch.hevs.cloudio.endpoint.CloudioAdLibObject.Builder
-
Declares conformance of the object for a given data class.
- Conforms - Annotation Type in ch.hevs.cloudio.endpoint
-
This annotation is used by cloud.io to declare a conformance to a given class.
- containsKey(String) - Method in interface ch.hevs.cloudio.endpoint.CloudioEndpointConfiguration
-
Returns true if a configuration item with the given key exists, false otherwise.
- getAttribute(String) - Method in class ch.hevs.cloudio.endpoint.CloudioAdLibObject
-
Returns the attribute with the given name or null if no attribute with the given name is part of the object.
- getNode(String) - Method in class ch.hevs.cloudio.endpoint.CloudioEndpoint
-
- getNode(String) - Method in interface ch.hevs.cloudio.endpoint.CloudioEndpointService
-
Returns the node with the given name that was registered within cloud.iO or null if no such node is present.
- getObject(String) - Method in class ch.hevs.cloudio.endpoint.CloudioAdLibNode
-
Returns the object with the given name or null if no object with the given name is part of the node.
- getObject(String) - Method in class ch.hevs.cloudio.endpoint.CloudioAdLibObject
-
Returns the object with the given name or null if no object with the given name is part of the object.
- getProperty(String) - Method in interface ch.hevs.cloudio.endpoint.CloudioEndpointConfiguration
-
Returns the configuration item for the given key or null if the property actually does not exists.
- getProperty(String, String) - Method in interface ch.hevs.cloudio.endpoint.CloudioEndpointConfiguration
-
Returns the configuration item for the given key or returns the given default value if the property actually
does not exists.
- getResource(String, Object) - Static method in class ch.hevs.utils.ResourceLoader
-
Locates the requested resource and returns an open InputStream
if the requested resource could be
located, otherwise an exception will be thrown.
- getResource(URI, Object) - Static method in class ch.hevs.utils.ResourceLoader
-
Locates the requested resource and returns an open InputStream
if the requested resource could be
located, otherwise an exception will be thrown.
- getResourceFromLocations(String, Object, String...) - Static method in class ch.hevs.utils.ResourceLoader
-
Tries to open an input stream for the given file name by trying to open the stream from the given locations one
after another.
- getType() - Method in class ch.hevs.cloudio.endpoint.CloudioAttribute
-
Returns the actual type of the attribute.
- getValue() - Method in class ch.hevs.cloudio.endpoint.CloudioAttribute
-
Returns the current value of the attribute.