net.wimpi.modbus.util
Interface Observer


public interface Observer

A cleanroom implementation of the Observer interface for the Observable design pattern.

Version:
@version@ (@date@)
Author:
Dieter Wimberger (wimpi)

Method Summary
 void update(Observable o, Object arg)
          Updates the state of this Observer to be in synch with an Observable instance.
 

Method Detail

update

void update(Observable o,
            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 © 2010. All Rights Reserved.