|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.middleware.bus.member.BusMember
org.universAAL.middleware.bus.member.Callee
org.universAAL.middleware.service.ServiceCallee
org.universAAL.hw.exporter.zigbee.ha.devices.ExporterDimmerCallee
public abstract class ExporterDimmerCallee
Field Summary | |
---|---|
static String |
IN_DEVICE
Argument suffix. |
static String |
IN_SET_VALUE
Service suffix. |
protected static String |
NAMESPACE
|
protected ServiceProfile[] |
newProfiles
|
static String |
OUT_GET_VLAUE
Argument suffix. |
static String |
SERVICE_GET_VALUE
Service suffix. |
static String |
SERVICE_SET_VALUE
Service suffix. |
Fields inherited from class org.universAAL.middleware.bus.member.BusMember |
---|
busResourceURI, owner, theBus |
Constructor Summary | |
---|---|
protected |
ExporterDimmerCallee(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 Integer |
executeGet()
When a GET STATUS service request is received, this method is called automatically. |
abstract boolean |
executeSet(Integer value)
When a SET STATUS 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_VALUE
public static final String OUT_GET_VLAUE
public static final String SERVICE_SET_VALUE
public static final String IN_SET_VALUE
public static final String IN_DEVICE
protected static String NAMESPACE
protected ServiceProfile[] newProfiles
Constructor Detail |
---|
protected ExporterDimmerCallee(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 Integer executeGet()
public abstract boolean executeSet(Integer value)
value
- The Integer representing the dimmed value
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 |