org.mmbase.module.core
Interface MMBaseObserver

Package class diagram package MMBaseObserver
All Known Implementing Classes:
MMServers, Versions

Deprecated. Use NodeEventListener

public interface MMBaseObserver

Event/changes interface for MMObjectNodes this is a callback interface thats need to be implemented when a object wants to add itself as a change listener on Builder to recieve signals if nodes change.

Version:
$Id: MMBaseObserver.java 34900 2009-05-01 16:29:42Z michiel $
Author:
Daniel Ockeloen

Method Summary
 boolean nodeLocalChanged(String machine, String number, String builder, String ctype)
          Deprecated. Called when a local node is changed.
 boolean nodeRemoteChanged(String machine, String number, String builder, String ctype)
          Deprecated. Called when a remote node is changed.
 

Method Detail

nodeRemoteChanged

boolean nodeRemoteChanged(String machine,
                          String number,
                          String builder,
                          String ctype)
Deprecated. 
Called when a remote node is changed.

Parameters:
machine - Name of the machine that changed the node.
number - Number of the changed node as a String
builder - Type of the changed node
ctype - command type, 'c'=changed, 'd'=deleted', 'r'=relations changed, 'n'=new
Returns:
always true
To Do:
javadoc is copied from MMObjectBuilder, but MMObjectBuilder is not an MMBaseObserver

nodeLocalChanged

boolean nodeLocalChanged(String machine,
                         String number,
                         String builder,
                         String ctype)
Deprecated. 
Called when a local node is changed.

Parameters:
machine - Name of the machine that changed the node.
number - Number of the changed node as a String
builder - Type of the changed node
ctype - command type, 'c'=changed, 'd'=deleted', 'r'=relations changed, 'n'=new
Returns:
always true
To Do:
javadoc is copied from MMObjectBuilder, but MMObjectBuilder is not an MMBaseObserver


MMBase2 Core 2.0-SNAPSHOT - 2013-11-29T11:08