Inherits ResourceInstance.
Public Member Functions | |
| ZigBeeResource () | |
| Creates a new ZigBeeResource with the default values. | |
| ZigBeeResource (ResourceInstance resourceInstance) | |
| Creates a new BluetoothResource based on a generic ResourceInstance. | |
| Job | addListener () |
| Creates a new Job which once executed, creates a new listener to be used by a Squid*Resource. | |
| Job | removeListener () |
| Creates a new Job which once executed, removes a listener. | |
| Job | start () |
| Creates a new Job which once executed, starts listening ZigBee devices. | |
| Job | stop () |
| Creates a new Job which once executed, stops listening ZigBee devices. | |
Static Public Member Functions | |
| static ZigBeeResource | cast (ResourceInstance resourceInstance) |
| Converts a generic ResourceInstance into a new one of type BluetoothResource. | |
Static Public Attributes | |
| static final String | ID = "ZigBee" |
| String containing the identifier for this resource. | |
It exposes methods to read from ZigBee devices trough the gateway.
<?xml version="1.0" encoding="utf-8"?>
<Resource xmlns:a="http://abiquo.com/schema/Domain.xsd" LocalId="ZigBeeResource">
<FunctionalityList>
<Functionality LocalId="Execute" ReturnType="void">
<AttributeList>
<Attribute Name="Session" Type="string" />
</AttributeList>
</Functionality>
<Functionality LocalId="start" ReturnType="void"/>
<Functionality LocalId="stop" ReturnType="void"/>
<Functionality LocalId="addListener" ReturnType="string"/>
<Functionality LocalId="RemoveListener" ReturnType="void">
<AttributeList>
<Attribute Name="session" Type="string" />
</AttributeList>
</Functionality>
</FunctionalityList>
</Resource>
| com.abiquo.api.resources.ZigBeeResource.ZigBeeResource | ( | ResourceInstance | resourceInstance | ) |
Creates a new BluetoothResource based on a generic ResourceInstance.
| resourceInstance | The generic ResourceInstance |
| static ZigBeeResource com.abiquo.api.resources.ZigBeeResource.cast | ( | ResourceInstance | resourceInstance | ) | [static] |
Converts a generic ResourceInstance into a new one of type BluetoothResource.
| resourceInstance | The generic ResourceInstance |
| Job com.abiquo.api.resources.ZigBeeResource.addListener | ( | ) |
Creates a new Job which once executed, creates a new listener to be used by a Squid*Resource.
| Job com.abiquo.api.resources.ZigBeeResource.removeListener | ( | ) |
Creates a new Job which once executed, removes a listener.
| Job com.abiquo.api.resources.ZigBeeResource.start | ( | ) |
Creates a new Job which once executed, starts listening ZigBee devices.
| Job com.abiquo.api.resources.ZigBeeResource.stop | ( | ) |
Creates a new Job which once executed, stops listening ZigBee devices.
final String com.abiquo.api.resources.ZigBeeResource.ID = "ZigBee" [static] |
String containing the identifier for this resource.
1.5.5