|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProfileListener
The ProfileListener interface defines the methods to be called when event notification occurs. The ProfileListener interface should be implemented by any class which wishes to be notified of changes in the configuration of a ProfileService. This includes the addition of Contols, the removal of Controls, and The modification of Controls.
CommandService,
CommandListener,
ControlService,
DeviceService,
ErrorListener,
MeasurementService,
MeasurementListener,
SignalService,
SignalListener| Field Summary | |
|---|---|
static int |
ADDED
Define the added (int) constant. |
static int |
CHANGED
Define the changed (int) constant. |
static int |
REMOVED
Define the removed (int) constant. |
| Method Summary | |
|---|---|
void |
controlChanged(ProfileService device,
java.lang.Object timestamp,
ControlService control,
int code)
The controlChanged method is called when a control was changed. |
void |
deviceChanged(ProfileService source,
java.lang.Object timestamp,
int newState,
int oldState)
This method will be called when the state of the ProfileService changes. |
| Methods inherited from interface org.eclipse.soda.dk.transport.service.ErrorListener |
|---|
errorOccurred |
| Field Detail |
|---|
static final int ADDED
static final int REMOVED
static final int CHANGED
| Method Detail |
|---|
void controlChanged(ProfileService device,
java.lang.Object timestamp,
ControlService control,
int code)
device - org.eclipse.soda.dk.device.service.ProfileServicetimestamp - java.lang.Objectcontrol - org.eclipse.soda.dk.device.service.ControlServicecode - intdeviceChanged(ProfileService,Object,int,int)
void deviceChanged(ProfileService source,
java.lang.Object timestamp,
int newState,
int oldState)
source - org.eclipse.soda.dk.device.service.ProfileServicetimestamp - java.lang.ObjectnewState - The new state of the ProfileService when the notification process started.oldState - The old state of the ProfileService.controlChanged(ProfileService,Object,ControlService,int)
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||