org.universAAL.hw.exporter.zigbee.ha.devices
Class IASZoneCallee

Package class diagram package IASZoneCallee
java.lang.Object
  extended by org.universAAL.middleware.bus.member.BusMember
      extended by org.universAAL.middleware.bus.member.Callee
          extended by org.universAAL.middleware.service.ServiceCallee
              extended by org.universAAL.hw.exporter.zigbee.ha.devices.ExporterSensorCallee
                  extended by org.universAAL.hw.exporter.zigbee.ha.devices.IASZoneCallee
All Implemented Interfaces:
it.cnr.isti.zigbee.zcl.library.api.security_safety.ias_zone.ZoneStatusChangeNotificationListener

public class IASZoneCallee
extends ExporterSensorCallee
implements it.cnr.isti.zigbee.zcl.library.api.security_safety.ias_zone.ZoneStatusChangeNotificationListener

Exporter class that acts as wrapper towards uAAL. Connects interaction of the device with the uAAL middleware through the service and context buses.

Author:
alfiva

Field Summary
 
Fields inherited from class org.universAAL.hw.exporter.zigbee.ha.devices.ExporterSensorCallee
IN_DEVICE, NAMESPACE, newProfiles, OUT_GET_VALUE, SERVICE_GET_VALUE
 
Fields inherited from class org.universAAL.middleware.bus.member.BusMember
busResourceURI, owner, theBus
 
Constructor Summary
IASZoneCallee(ModuleContext context, IAS_ZoneAAL serv)
          Constructor to be used in the exporter, which sets up all the exporting process.
 
Method Summary
protected  ServiceResponse getValue()
          This is a sensor, so it must provide its sensed value when asked.
 void zoneStatusChangeNotification(short arg0)
           
 
Methods inherited from class org.universAAL.hw.exporter.zigbee.ha.devices.ExporterSensorCallee
communicationChannelBroken, getServiceProfiles, handleCall, unregister
 
Methods inherited from class org.universAAL.middleware.service.ServiceCallee
addNewServiceProfiles, busDyingOut, getMyID, handleRequest, removeMatchingProfiles
 
Methods inherited from class org.universAAL.middleware.bus.member.BusMember
close, getType, getURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IASZoneCallee

public IASZoneCallee(ModuleContext context,
                     IAS_ZoneAAL serv)
Constructor to be used in the exporter, which sets up all the exporting process.

Parameters:
context - The OSGi context
serv - The OSGi service backing the interaction with the device in the abstraction layer
Method Detail

getValue

protected ServiceResponse getValue()
Description copied from class: ExporterSensorCallee
This is a sensor, so it must provide its sensed value when asked.

Specified by:
getValue in class ExporterSensorCallee
Returns:
The Service Response representing the requested output, as defined by the appropriate Service Ontology.

zoneStatusChangeNotification

public void zoneStatusChangeNotification(short arg0)
Specified by:
zoneStatusChangeNotification in interface it.cnr.isti.zigbee.zcl.library.api.security_safety.ias_zone.ZoneStatusChangeNotificationListener


Copyright © 2014 universAAL Consortium. All Rights Reserved.