|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.universAAL.middleware.bus.member.BusMember org.universAAL.middleware.bus.member.Callee org.universAAL.middleware.service.ServiceCallee org.universAAL.hw.exporter.zigbee.ha.devices.ExporterActuatorCallee
public abstract class ExporterActuatorCallee
Field Summary | |
---|---|
static String |
IN_DEVICE
Argument suffix. |
protected static String |
NAMESPACE
|
protected ServiceProfile[] |
newProfiles
|
static String |
OUT_GET_ON_OFF
Argument suffix. |
static String |
SERVICE_GET_ON_OFF
Service suffix. |
static String |
SERVICE_TURN_OFF
Service suffix. |
static String |
SERVICE_TURN_ON
Service suffix. |
Fields inherited from class org.universAAL.middleware.bus.member.BusMember |
---|
busResourceURI, owner, theBus |
Constructor Summary | |
---|---|
protected |
ExporterActuatorCallee(ModuleContext context,
ServiceProfile[] realizedServices)
|
Method Summary | |
---|---|
void |
communicationChannelBroken()
This abstract method is called for each member of the bus when the bus is being stopped. |
abstract Boolean |
executeGet()
When a GET STATUS service request is received, this method is called automatically. |
abstract boolean |
executeOff()
When a SET OFF service request is received, this method is called automatically. |
abstract boolean |
executeOn()
When a SET ON service request is received, this method is called automatically. |
static ServiceProfile[] |
getServiceProfiles(String namespace,
String ontologyURI,
Actuator actuator)
|
ServiceResponse |
handleCall(ServiceCall call)
The actual service method of the ServiceCallee . |
void |
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 |
Field Detail |
---|
public static final String SERVICE_GET_ON_OFF
public static final String OUT_GET_ON_OFF
public static final String SERVICE_TURN_OFF
public static final String SERVICE_TURN_ON
public static final String IN_DEVICE
protected static String NAMESPACE
protected ServiceProfile[] newProfiles
Constructor Detail |
---|
protected ExporterActuatorCallee(ModuleContext context, ServiceProfile[] realizedServices)
Method Detail |
---|
public void unregister()
public void communicationChannelBroken()
ServiceCallee
communicationChannelBroken
in class ServiceCallee
public ServiceResponse handleCall(ServiceCall call)
ServiceCallee
ServiceCallee
. It is called
by the bus whenever there is a call that need to be serviced by this
ServiceCallee
.
handleCall
in class ServiceCallee
call
- the call that needs to be serviced.
public abstract boolean executeOn()
true
if the actuator could be set to ONpublic abstract boolean executeOff()
true
if the actuator could be set to OFFpublic abstract Boolean executeGet()
public static ServiceProfile[] getServiceProfiles(String namespace, String ontologyURI, Actuator actuator)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |