org.metastatic.rsync.v2
Class RsyncdConf

java.lang.Object
  |
  +--org.metastatic.rsync.v2.RsyncdConf
All Implemented Interfaces:
EventListener, ParameterListener

public class RsyncdConf
extends Object
implements ParameterListener


Constructor Summary
RsyncdConf()
           
 
Method Summary
 void beginSection(String name)
          Begin a named section.
 String getLogFile()
           
 Map getModules()
           
 String getMOTDFile()
           
 String getPIDFile()
           
 void setParameter(String name, String value)
          Set a parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RsyncdConf

public RsyncdConf()
Method Detail

getModules

public Map getModules()

getMOTDFile

public String getMOTDFile()

getPIDFile

public String getPIDFile()

getLogFile

public String getLogFile()

beginSection

public void beginSection(String name)
Description copied from interface: ParameterListener
Begin a named section. This method will be called on every new section definition.

Specified by:
beginSection in interface ParameterListener
Parameters:
name - The new section's name.

setParameter

public void setParameter(String name,
                         String value)
Description copied from interface: ParameterListener
Set a parameter. This method may be called prior to the first call to ParameterListener.beginSection(java.lang.String), if there are global options. If this method is called after a call to ParameterListener.beginSection(java.lang.String), this parameter belongs to that section.

Specified by:
setParameter in interface ParameterListener
Parameters:
name - The parameter's name.
value - The parameter's value.