<?xml version="1.0" encoding="iso-8859-1"?>
<module name="Ft.Server.Server.Ftp.Session" file="/work/a/ports/textproc/py-4suite/work/4Suite-1.0b1/build/lib.freebsd-8.0-RELEASE-p2-i386-2.4/Ft/Server/Server/Ftp/Session.py">
  <modification-date>2005-04-11 16:51:12</modification-date>
  <abstract>Repository exposed as FTP session</abstract>
  <description>Copyright 2005 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/</description>
  <classes>
    <class name="Session" public="yes">
      <bases>
      </bases>
      <abstract/>
      <description/>
      <method-resolution-order>
        <base name="Session" module="Ft.Server.Server.Ftp.Session"/>
      </method-resolution-order>
      <methods documented="yes" class="Session" module="Ft.Server.Server.Ftp.Session" inherited="no">
        <method public="no" name="__init__" id="Session-__init__">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="rfile"/>
            <arg name="wfile"/>
            <arg name="client_address"/>
            <arg name="server"/>
          </arguments>
        </method>
        <method public="yes" name="absolutePath" id="Session-absolutePath">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="path"/>
          </arguments>
        </method>
        <method public="yes" name="close_datasock" id="Session-close_datasock">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_abor" id="Session-cmd_abor">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="_"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_appe" id="Session-cmd_appe">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="filename"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_cdup" id="Session-cmd_cdup">
          <abstract>Overriden for 4SS</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="_"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_cwd" id="Session-cmd_cwd">
          <abstract>Overriden for 4Suite Server</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="path"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_dele" id="Session-cmd_dele">
          <abstract>Overriden for 4SS</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="filename"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_dummy" id="Session-cmd_dummy">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="_"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_list" id="Session-cmd_list">
          <abstract>Overidden for 4SS</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="path"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_mkd" id="Session-cmd_mkd">
          <abstract>Overidden for 4SS</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="dirname"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_noop" id="Session-cmd_noop">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="_"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_pass" id="Session-cmd_pass">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="password"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_pasv" id="Session-cmd_pasv">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="_"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_port" id="Session-cmd_port">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="port_id"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_pwd" id="Session-cmd_pwd">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="_"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_quit" id="Session-cmd_quit">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="_"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_rest" id="Session-cmd_rest">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="pos"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_retr" id="Session-cmd_retr">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="filename"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_retr1" id="Session-cmd_retr1">
          <abstract>Overriden for 4SS</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="path"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_rmd" id="Session-cmd_rmd">
          <abstract>Overidden for 4SS</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="dirname"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_site" id="Session-cmd_site">
          <abstract>Overiden to permit 4SS specific commands</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="command"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_size" id="Session-cmd_size">
          <abstract>Overriden for 4SS</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="path"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_stor" id="Session-cmd_stor">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="filename"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_syst" id="Session-cmd_syst">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="_"/>
          </arguments>
        </method>
        <method public="yes" name="cmd_user" id="Session-cmd_user">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="username"/>
          </arguments>
        </method>
        <method public="yes" name="create_nonpasv_datasock" id="Session-create_nonpasv_datasock">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="yes" name="create_pasv_datasock" id="Session-create_pasv_datasock">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="yes" name="docmd" id="Session-docmd">
          <abstract># parses the command and eventually calls the appropriate routine</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="cmd"/>
          </arguments>
        </method>
        <method public="yes" name="log_date_time_string" id="Session-log_date_time_string">
          <abstract>Create a time string suitable for Common Log Format.
[dd/mmm/yyyy:HH:MM:SS ZZZZZ]
    dd - Day of the month as a decimal number [01,31]
   mmm - Abbreviated month name
  yyyy - Year with century as a decimal number
    HH - Hour (24-hour clock) as a decimal number [00,23]
    MM - Minute as a decimal number [00,59]
    SS - Second as a decimal number [00,61]
 ZZZZZ - The time-zone as hour offset from GMT in (+/-)HHMM format</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="yes" name="log_error" id="Session-log_error">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="code"/>
            <arg name="msg"/>
          </arguments>
        </method>
        <method public="yes" name="log_ftp_command" id="Session-log_ftp_command">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="cmd"/>
            <arg name="args"/>
          </arguments>
        </method>
        <method public="yes" name="log_ftp_message" id="Session-log_ftp_message">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="msg"/>
          </arguments>
        </method>
        <method public="yes" name="log_serverResponse" id="Session-log_serverResponse">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="msg"/>
          </arguments>
        </method>
        <method public="yes" name="loop" id="Session-loop">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="yes" name="loop1" id="Session-loop1">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="yes" name="reply" id="Session-reply">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="x"/>
          </arguments>
        </method>
        <method public="yes" name="replymessage" id="Session-replymessage">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="n"/>
            <arg name="x"/>
          </arguments>
        </method>
        <method public="yes" name="stor_or_appe" id="Session-stor_or_appe">
          <abstract>Overriden for 4SS</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="filename"/>
            <arg name="comm"/>
          </arguments>
        </method>
        <method public="yes" name="unixDirListing" id="Session-unixDirListing">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="parent"/>
          </arguments>
        </method>
        <method public="yes" name="v2fs" id="Session-v2fs">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="f"/>
          </arguments>
        </method>
      </methods>
      <fields documented="yes" class="Session" module="Ft.Server.Server.Ftp.Session" inherited="no">
        <field public="yes" name="threading" id="Session-threading">
          <value>0</value>
        </field>
      </fields>
    </class>
  </classes>
  <functions>
    <function public="yes" name="got_pass" id="got_pass">
      <abstract/>
      <description/>
      <arguments>
        <arg name="username"/>
        <arg name="password"/>
        <arg name="session"/>
        <arg name="sessions"/>
      </arguments>
    </function>
    <function public="yes" name="got_user" id="got_user">
      <abstract/>
      <description/>
      <arguments>
        <arg name="username"/>
        <arg name="session"/>
        <arg name="sessions"/>
      </arguments>
    </function>
    <function public="yes" name="permcheck" id="permcheck">
      <abstract/>
      <description/>
      <arguments>
        <arg name="f"/>
        <arg name="user"/>
        <arg name="group"/>
        <arg name="session"/>
        <arg name="operation"/>
      </arguments>
    </function>
  </functions>
  <fields>
    <field public="yes" name="IMT_MAP" id="IMT_MAP">
      <value>{'.gif': 'image/gif', '.htm': 'text/html', '.html': 'text/html', '.jpeg': 'image/jpeg', '.jpg': 'image/jpeg', '.png': 'image/png', '.rdf': 'text/xml', '.svg': 'image/svg', '.xhtml': 'text/html', '.xml': 'text/xml', ...}</value>
    </field>
    <field public="yes" name="SCHEMA_NSS" id="SCHEMA_NSS">
      <value>'http://schemas.4suite.org/4ss'</value>
    </field>
    <field public="yes" name="authmethods" id="authmethods">
      <value>[(&lt;function got_user&gt;, &lt;function got_pass&gt;)]</value>
    </field>
    <field public="yes" name="chrootdir" id="chrootdir">
      <value>''</value>
    </field>
    <field public="yes" name="do_debug" id="do_debug">
      <value>1</value>
    </field>
    <field public="yes" name="do_log" id="do_log">
      <value>0</value>
    </field>
    <field public="yes" name="emulate_posix" id="emulate_posix">
      <value>1</value>
    </field>
    <field public="yes" name="i" id="i">
      <value>'auth_4SS_module'</value>
    </field>
    <field public="yes" name="initial_msg" id="initial_msg">
      <value>'Welcome to the 4Suite Server FTP interface'</value>
    </field>
    <field public="yes" name="initial_wd" id="initial_wd">
      <value>'/'</value>
    </field>
    <field public="yes" name="logfile" id="logfile">
      <value>''</value>
    </field>
    <field public="yes" name="methods" id="methods">
      <value>['Error', 'FtServerServerException', 'GetRepository', '__builtins__', '__doc__', '__file__', '__name__', 'got_pass', 'got_user', 'os', 'sha']</value>
    </field>
    <field public="yes" name="modules" id="modules">
      <value>['auth_4SS_module']</value>
    </field>
    <field public="yes" name="permmethods" id="permmethods">
      <value>[]</value>
    </field>
    <field public="yes" name="port" id="port">
      <value>2122</value>
    </field>
    <field public="yes" name="rbufsize" id="rbufsize">
      <value>16000</value>
    </field>
    <field public="yes" name="sbufsize" id="sbufsize">
      <value>16000</value>
    </field>
    <field public="yes" name="sessions" id="sessions">
      <value>{}</value>
    </field>
    <field public="yes" name="timeout_data" id="timeout_data">
      <value>120</value>
    </field>
    <field public="yes" name="timeout_session" id="timeout_session">
      <value>300</value>
    </field>
  </fields>
</module>
