org.nukesoft.bot2.core
Class DMConfig

java.lang.Object
  |
  +--org.nukesoft.bot2.core.DMConfig

public class DMConfig
extends Object

The DMConfig class is used to configure the DialogManager.

Author:
Ryan Michela

Nested Class Summary
 class DMConfig.CPConfig
          The CPConfig class is used by the DialogManager to configure a CommPort.
 class DMConfig.DBConfig
          The DBConfig class is used by the DialogManager to configure a Default Bind.
 class DMConfig.LPConfig
          The LPConfig class is used by the DialogManager to configure a LineProc.
 
Constructor Summary
DMConfig(int dialogTimeout, int logFlushDelay, String logWorkingDir, String adminLineProcBindID, String adminEscapeSequence)
           
 
Method Summary
 void addCPConfig(DMConfig.CPConfig conf)
          Adds a configuration record to the CommPort config table.
 void addDBConfig(DMConfig.DBConfig conf)
          Adds a configuration record to the Default Bind config table.
 void addLPConfig(DMConfig.LPConfig conf)
          Adds a configuration record to the LineProc config table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DMConfig

public DMConfig(int dialogTimeout,
                int logFlushDelay,
                String logWorkingDir,
                String adminLineProcBindID,
                String adminEscapeSequence)
Method Detail

addCPConfig

public void addCPConfig(DMConfig.CPConfig conf)
Adds a configuration record to the CommPort config table.

Parameters:
conf - The configuration entry to add.

addLPConfig

public void addLPConfig(DMConfig.LPConfig conf)
Adds a configuration record to the LineProc config table.

Parameters:
conf - The configuration entry to add.

addDBConfig

public void addDBConfig(DMConfig.DBConfig conf)
Adds a configuration record to the Default Bind config table.

Parameters:
conf - The configuration entry to add.