-í
57ýFc       sY      d  k  Z   d  k Z  d  k Z  d  k Z  d  k Z 	 d f  d     YZ d  S(   Ns   Configc      sł   	 d  Z  
  d Z  d   Z  d   Z  d   Z  d   Z  d   Z  d   Z " d   Z & d	   Z	 * d
   Z
 / d   Z 3 d   Z 7 d   Z < d   Z RS(   s   Le Config Base Classi    c    s     t  i i |   d  S(   N(   s	   twccommons   embeddeds   setconfclasss   self(   s   self(    (    s   Configuration.pys   __init__ s   c    s
     d  S(   N(    (   s   self(    (    s   Configuration.pys	   _finalize s   c    s     t  i |  d  S(   N(   s   _Configurations   setPidFileDirs   dir(   s   selfs   dir(    (    s   Configuration.pys   setPidFileDir s   c    s      t  i |  d S(   s/   Sets the work directory for the current processN(   s   _Configurations
   setWorkDirs   dir(   s   selfs   dir(    (    s   Configuration.pys
   setWorkDir s   c    s      t  i   Sd S(   s2   Returns the work directory for the current processN(   s   _Configurations
   getWorkDir(   s   self(    (    s   Configuration.pys
   getWorkDir s   c    s       t  i   Sd S(   s   Gets the system data directoryN(   s   _Configurations   getSystemDataDir(   s   self(    (    s   Configuration.pys   getSystemDataDir s   c    s   " # $ t  i |  d S(   s   Sets the current logging levelN(   s   _twcs   setLogLevels   level(   s   selfs   level(    (    s   Configuration.pys   setLogLevel" s   c    s   & ' ( t  i |  d S(   s'   Sets directory to write application logN(   s   _Configurations	   setLogDirs   dir(   s   selfs   dir(    (    s   Configuration.pys	   setLogDir& s   c    s   * , - t  i |  d S(   sQ   Set to non zero to cause the log to be flushed to disk after every
        write.N(   s   _Configurations   setLogFlushAfterWrites   flushAfterWrite(   s   selfs   flushAfterWrite(    (    s   Configuration.pys   setLogFlushAfterWrite* s   c    s   / 0 1 t  i |  d S(   s:   Sets the name of the event channel to use (if appropriate)N(   s   _Configurations
   setChannels   channel(   s   selfs   channel(    (    s   Configuration.pys
   setChannel/ s   c    s   3 4 5 t  i |  d S(   s@   Sets the name of the event channel factory for creating new onesN(   s   _Configurations   setChannelFactorys   factory(   s   selfs   factory(    (    s   Configuration.pys   setChannelFactory3 s   c    s-   7 8 9 t  i |  : t i i |  d S(   s@   Sets the name of the application (in case default isnt good enufN(   s   _Configurations
   setAppNames   names	   twccommons   Logs   setIdent(   s   selfs   name(    (    s   Configuration.pys
   setAppName7 s   c    s¨   < > ? t  i d t  _ @ t  i d j o A t d d  n D t i d } E | d } G | | } I t i i	 |  o J t
 |  n L t  i d t  _ d S(   s   Runs local configuration.  Do NOT call this from a local conf file
        or else it will complain bitterly that you are stupid!i   s&   User Error: Do NOT call doLocalConfig s#   within a local conf file (FOOL!!!)!s   TWCROOTs   /local_conf/N(   s   Configs   localConfDepths   RuntimeErrors   oss   environs	   localPaths   filenames   scripts   paths   existss   execfile(   s   selfs   filenames   scripts	   localPath(    (    s   Configuration.pys   doLocalConfig< s   (   s   __doc__s   localConfDepths   __init__s	   _finalizes   setPidFileDirs
   setWorkDirs
   getWorkDirs   getSystemDataDirs   setLogLevels	   setLogDirs   setLogFlushAfterWrites
   setChannels   setChannelFactorys
   setAppNames   doLocalConfig(    (    (    s   Configuration.pys   Config	 s   		(   s   oss   twccommon.embeddeds	   twccommons   twccommon.Logs   _Configurations   _twcs   Config(   s	   twccommons   _twcs   oss   _Configurations   Config(    (    s   Configuration.pys   ? s
   