net.wimpi.modbus.util
Interface Observer
- public interface Observer
A cleanroom implementation of the Observer interface
for the Observable design pattern.
- Version:
- 1.2rc1 (09/11/2004)
- Author:
- Dieter Wimberger (wimpi)
Method Summary |
void |
update(Observable o,
java.lang.Object arg)
Updates the state of this Observer to be in
synch with an Observable instance.
|
update
public void update(Observable o,
java.lang.Object arg)
- Updates the state of this Observer to be in
synch with an Observable instance.
The argument should usually be an indication of the
aspects that changed in the Observable.
- Parameters:
o
- an Observable instance.arg
- an arbitrary argument to be passed.
Copyright © 2002-2004 jamod development team.