<?xml version="1.0" encoding="iso-8859-1"?>
<module name="Ft.Server.FtRpc.Marshal" file="/work/a/ports/textproc/py-4suite/work/4Suite-1.0b1/build/lib.freebsd-8.0-RELEASE-p2-i386-2.4/Ft/Server/FtRpc/Marshal.py">
  <modification-date>2005-03-22 09:57:31</modification-date>
  <abstract>RPC server protocol implementation</abstract>
  <description>Code to marshal and unmarshal our little protocol's messages.
A message consists of:
  4 bytes for command/response code
  10 bytes for data length
  n bytes for data where n=length (cPickle)

Copyright 2005 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/</description>
  <functions>
    <function public="yes" name="Connect" id="Connect">
      <abstract>Connect to an FtRpc Server</abstract>
      <description/>
      <arguments>
        <arg name="userName"/>
        <arg name="passwd"/>
        <arg name="host"/>
        <arg name="port"/>
      </arguments>
    </function>
    <function public="yes" name="Marshal" id="Marshal">
      <abstract>Turn a command and its data into a list of strings to be sent</abstract>
      <description/>
      <arguments>
        <arg name="cmd"/>
        <arg name="data"/>
      </arguments>
    </function>
    <function public="yes" name="Receive" id="Receive">
      <abstract>Read in a response (or a command)</abstract>
      <description/>
      <arguments>
        <arg name="s"/>
      </arguments>
    </function>
    <function public="yes" name="Send" id="Send">
      <abstract>Send a command (or a response)</abstract>
      <description/>
      <arguments>
        <arg name="s"/>
        <arg name="cmd"/>
        <arg name="data"/>
      </arguments>
    </function>
  </functions>
</module>
