
Public Member Functions | |
| SquidPlusResource () | |
| Creates a new SquidPlusResource with the default values. | |
| SquidPlusResource (ResourceInstance resourceInstance) | |
| Creates a new SquidPlusResource based on a generic ResourceInstance. | |
Static Public Member Functions | |
| static SquidPlusResource | cast (ResourceInstance resourceInstance) |
| Converts a generic ResourceInstance into a new one of type SquidPlusResource. | |
Static Public Attributes | |
| static final String | ID = "SquidPlus" |
| String containing the identifier for this resource. | |
It takes as the SquidResource as a base and extends it on the fact of add it a new sensor for the humidity of the terrain.
<?xml version="1.0" encoding="utf-8"?>
<Resource xmlns="http://http://cpal.abiquo.com/schema/Domain.xsd" LocalId="SquidPlusResource">
<FunctionalityList >
<Functionality LocalId="listen" ReturnType="void">
<AttributeList>
<Attribute Name="Session" Type="DataReference" />
</AttributeList>
</Functionality>
<Functionality LocalId="getSample" ReturnType="string">
<AttributeList>
<Attribute Name="Sensor" Type="String" />
<Attribute Name="MoteId" Type="String" />
</AttributeList>
</Functionality>
<Functionality LocalId="GetMoteList" ReturnType="string"/>
</FunctionalityList>
</Resource>
| com.abiquo.api.resources.SquidPlusResource.SquidPlusResource | ( | ResourceInstance | resourceInstance | ) |
Creates a new SquidPlusResource based on a generic ResourceInstance.
| resourceInstance | The generic ResourceInstance |
| static SquidPlusResource com.abiquo.api.resources.SquidPlusResource.cast | ( | ResourceInstance | resourceInstance | ) | [static] |
Converts a generic ResourceInstance into a new one of type SquidPlusResource.
| resourceInstance | The generic ResourceInstance |
Reimplemented from com.abiquo.api.resources.SquidResource.
final String com.abiquo.api.resources.SquidPlusResource.ID = "SquidPlus" [static] |
String containing the identifier for this resource.
Reimplemented from com.abiquo.api.resources.SquidResource.
1.5.5