org.mmbase.remote.builders
Class cdplayers

java.lang.Object
  |
  +--org.mmbase.remote.RemoteBuilder
        |
        +--org.mmbase.remote.builders.cdplayers

public class cdplayers
extends RemoteBuilder

Version:
$Revision: 1.13 $ $Date: 2001/12/14 09:33:33 $
Author:
Daniel Ockeloen

Field Summary
static java.lang.String DST_PATH
           
 
Fields inherited from class org.mmbase.remote.RemoteBuilder
classname, debug, props
 
Constructor Summary
cdplayers()
           
 
Method Summary
 void init(MMProtocolDriver con, java.lang.String servicefile)
           
 void nodeChanged(java.lang.String nodenr, java.lang.String buildername, java.lang.String ctype)
          Check to see what the status of the service node has become and react to it.
 void nodeLocalChanged(java.lang.String serviceRef, java.lang.String builderName, java.lang.String ctype)
          Called when node was changed on the local side, in turn this routine calls nodeChanged to check out and react to the new state.
 void nodeRemoteChanged(java.lang.String serviceRef, java.lang.String builderName, java.lang.String ctype)
          Called when the service node state was changed on another server, in turn this method calls nodeChanged to check out and react to the new state.
 
Methods inherited from class org.mmbase.remote.RemoteBuilder
commit, debug, getIntValue, getNode, getStringValue, gotXMLValues, maintainance, setClaimed, setValue, setValue, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DST_PATH

public static final java.lang.String DST_PATH
Constructor Detail

cdplayers

public cdplayers()
Method Detail

init

public void init(MMProtocolDriver con,
                 java.lang.String servicefile)
Overrides:
init in class RemoteBuilder

nodeRemoteChanged

public void nodeRemoteChanged(java.lang.String serviceRef,
                              java.lang.String builderName,
                              java.lang.String ctype)
Called when the service node state was changed on another server, in turn this method calls nodeChanged to check out and react to the new state.
Overrides:
nodeRemoteChanged in class RemoteBuilder
Parameters:
serviceRef - a String with a reference to the service node who's state has been changed.
builderName - a String with the buildername of the node that was changed.
ctype - a String with the node change type.

nodeLocalChanged

public void nodeLocalChanged(java.lang.String serviceRef,
                             java.lang.String builderName,
                             java.lang.String ctype)
Called when node was changed on the local side, in turn this routine calls nodeChanged to check out and react to the new state.
Overrides:
nodeLocalChanged in class RemoteBuilder
Parameters:
serviceRef - a String with a reference to the service node who's state has been changed.
builderName - a String with the buildername of the node that was changed.
ctype - a String with the node change type.

nodeChanged

public void nodeChanged(java.lang.String nodenr,
                        java.lang.String buildername,
                        java.lang.String ctype)
Check to see what the status of the service node has become and react to it.
Parameters:
serviceRef - a String with a reference to the service node who's state has been changed.
builderName - a String with the buildername of the node that was changed.
ctype - a String with the node change type.


MMBase 2002