|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Producers fire events to AddressListeners and FunctionListeners. An example of a producer may be a software widget that represents a light switch. When the switch is turned on, the registered AddressListeners and FunctionListeners will be notified. For actual transmission of an X10Event through a gateway, it may be desirable to use the Transmitter interface.
Method Summary | |
void |
addAddressListener(AddressListener listener)
Add an AddressListener. |
void |
addFunctionListener(FunctionListener listener)
Add a FunctionListener. |
void |
removeAddressListener(AddressListener listener)
Remove the first instance of the specified listener from the register list of AddressListeners. |
void |
removeFunctionListener(FunctionListener listener)
Remove the first instance of the specified listener from the register list of FunctionListeners. |
Method Detail |
public void addAddressListener(AddressListener listener)
listener
- Listener to add.public void removeAddressListener(AddressListener listener)
listener
- Listner to remove.public void addFunctionListener(FunctionListener listener)
listener
- Listener to add.public void removeFunctionListener(FunctionListener listener)
listener
- Listner to remove.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |