|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.core.EscObject
org.eclipse.soda.dk.device.DeviceListeners
public class DeviceListeners
The DeviceListeners class implements the DeviceListener interface.
ErrorListener,
DeviceListener| Field Summary |
|---|
| Fields inherited from interface org.eclipse.soda.dk.device.service.DeviceListener |
|---|
ADDED, CHANGED, REMOVED |
| Constructor Summary | |
|---|---|
DeviceListeners(DeviceListener[] objects)
Constructs an DeviceListeners object using the input parameter(s). |
|
DeviceListeners(DeviceListener currentObject,
DeviceListener newObject)
Constructs an DeviceListeners object using the input parameter(s). |
|
| Method Summary | |
|---|---|
static DeviceListener |
add(DeviceListener currentObject,
DeviceListener newObject)
Perform the add method and return the DeviceListener result. |
void |
channelChanged(DeviceService source,
java.lang.Object timestamp,
ChannelService channel,
int newState,
int oldState)
Channel changed with the specified source, timestamp, channel, new state and old state parameters. |
void |
controlChanged(DeviceService container,
java.lang.Object timestamp,
ControlService control,
int code)
The controlChanged method is called when a control was changed. |
void |
deviceChanged(DeviceService source,
java.lang.Object timestamp,
int newState,
int oldState)
This method will be called when the state of the DeviceService changes. |
void |
errorOccurred(java.lang.Object source,
java.lang.Object timestamp,
java.lang.Object data)
The errorOccurred method is called when an error has occurred. |
DeviceListener[] |
getObjects()
Gets the DeviceListener [] objects property value. |
protected DeviceListener |
remove(DeviceListener removeHandler)
Perform the remove method and return the DeviceListener result. |
static DeviceListener |
remove(DeviceListener currentObject,
DeviceListener removeObject)
Perform the remove method and return the Object result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DeviceListeners(DeviceListener currentObject,
DeviceListener newObject)
DeviceListeners object using the input parameter(s).
currentObject - The current object (DeviceListener) parameter.newObject - The new object (DeviceListener) parameter.DeviceListeners(DeviceListener[])public DeviceListeners(DeviceListener[] objects)
DeviceListeners object using the input parameter(s).
objects - The objects (DeviceListener[]) parameter.DeviceListeners(DeviceListener,DeviceListener)| Method Detail |
|---|
public static DeviceListener add(DeviceListener currentObject,
DeviceListener newObject)
DeviceListener result.
currentObject - The current object (DeviceListener) parameter.newObject - The new object (DeviceListener) parameter.
DeviceListener) value.
public static DeviceListener remove(DeviceListener currentObject,
DeviceListener removeObject)
Object result.
currentObject - The current object (DeviceListener) parameter.removeObject - The remove object (DeviceListener) parameter.
DeviceListener) value.remove(DeviceListener)
public void channelChanged(DeviceService source,
java.lang.Object timestamp,
ChannelService channel,
int newState,
int oldState)
channelChanged in interface MultiplexDeviceListenersource - The source (DeviceService) parameter.timestamp - The time stamp (Object) parameter.channel - The channel (ChannelService) parameter.newState - The new state (int) parameter.oldState - The old state (int) parameter.controlChanged(DeviceService,Object,ControlService,int),
deviceChanged(DeviceService,Object,int,int)
public void controlChanged(DeviceService container,
java.lang.Object timestamp,
ControlService control,
int code)
controlChanged in interface DeviceListenercontainer - The container (DeviceService) parameter.timestamp - The time stamp (Object) parameter.control - The control (ControlService) parameter.code - The code (int) parameter.channelChanged(DeviceService,Object,ChannelService,int,int),
deviceChanged(DeviceService,Object,int,int)
public void deviceChanged(DeviceService source,
java.lang.Object timestamp,
int newState,
int oldState)
deviceChanged in interface DeviceListenersource - The source (DeviceService) parameter.timestamp - The time stamp (Object) parameter.newState - The new state (int) parameter.oldState - The old state (int) parameter.channelChanged(DeviceService,Object,ChannelService,int,int),
controlChanged(DeviceService,Object,ControlService,int)
public void errorOccurred(java.lang.Object source,
java.lang.Object timestamp,
java.lang.Object data)
errorOccurred in interface ErrorListenersource - The source (Object) parameter.timestamp - The time stamp (Object) parameter.data - The data (Object) parameter.public DeviceListener[] getObjects()
DeviceListener [] objects property value.
DeviceListener[]) value.protected DeviceListener remove(DeviceListener removeHandler)
DeviceListener result.
removeHandler - The remove handler (DeviceListener) parameter.
DeviceListener) value.remove(DeviceListener,DeviceListener)
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||