commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r8098 - in trunk/gnue-common/src: definitions rpc rpc/drivers rpc


From: johannes
Subject: [gnue] r8098 - in trunk/gnue-common/src: definitions rpc rpc/drivers rpc/drivers/pyro rpc/drivers/xmlrpc
Date: Wed, 16 Nov 2005 07:20:18 -0600 (CST)

Author: johannes
Date: 2005-11-16 07:20:18 -0600 (Wed, 16 Nov 2005)
New Revision: 8098

Modified:
   trunk/gnue-common/src/definitions/GParser.py
   trunk/gnue-common/src/rpc/RpcDoc.py
   trunk/gnue-common/src/rpc/__init__.py
   trunk/gnue-common/src/rpc/client.py
   trunk/gnue-common/src/rpc/drivers/Base.py
   trunk/gnue-common/src/rpc/drivers/__init__.py
   trunk/gnue-common/src/rpc/drivers/pyro/__init__.py
   trunk/gnue-common/src/rpc/drivers/xmlrpc/__init__.py
   trunk/gnue-common/src/rpc/server.py
Log:
Updated docstrings


Modified: trunk/gnue-common/src/definitions/GParser.py
===================================================================
--- trunk/gnue-common/src/definitions/GParser.py        2005-11-15 13:37:03 UTC 
(rev 8097)
+++ trunk/gnue-common/src/definitions/GParser.py        2005-11-16 13:20:18 UTC 
(rev 8098)
@@ -19,7 +19,7 @@
 # write to the Free Software Foundation, Inc., 59 Temple Place
 # - Suite 330, Boston, MA 02111-1307, USA.
 #
-# $Id: $
+# $Id$
 
 """
 Class that contains a SAX2-based XML processor for GNUe
@@ -51,7 +51,6 @@
 """
 
 
-import string
 import os
 
 from gnue.common.apps import errors
@@ -76,7 +75,7 @@
 
       text.insert (0, msg)
 
-    self.detail = string.join (text, os.linesep)
+    self.detail = os.linesep.join (text)
 
 
 # -----------------------------------------------------------------------------


Property changes on: trunk/gnue-common/src/rpc/RpcDoc.py
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: trunk/gnue-common/src/rpc/__init__.py
===================================================================
--- trunk/gnue-common/src/rpc/__init__.py       2005-11-15 13:37:03 UTC (rev 
8097)
+++ trunk/gnue-common/src/rpc/__init__.py       2005-11-16 13:20:18 UTC (rev 
8098)
@@ -0,0 +1,26 @@
+# GNU Enterprise Common Library - RPC Library
+#
+# Copyright 2001-2005 Free Software Foundation
+#
+# This file is part of GNU Enterprise
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or (at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# $Id$
+
+"""
+GNUe RPC library
+"""


Property changes on: trunk/gnue-common/src/rpc/__init__.py
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: trunk/gnue-common/src/rpc/client.py
===================================================================
--- trunk/gnue-common/src/rpc/client.py 2005-11-15 13:37:03 UTC (rev 8097)
+++ trunk/gnue-common/src/rpc/client.py 2005-11-16 13:20:18 UTC (rev 8098)
@@ -21,6 +21,13 @@
 #
 # $Id$
 
+"""
+Client side of a GNUe RPC connection
+"""
+
+__all__ = ['attach', 'InvalidAdapter', 'AdapterInitializationError',
+           'AdapterConfigurationError', 'ProgrammingError', 
'AccessDeniedError']
+
 from gnue.common.apps import errors, plugin
 
 # =============================================================================

Modified: trunk/gnue-common/src/rpc/drivers/Base.py
===================================================================
--- trunk/gnue-common/src/rpc/drivers/Base.py   2005-11-15 13:37:03 UTC (rev 
8097)
+++ trunk/gnue-common/src/rpc/drivers/Base.py   2005-11-16 13:20:18 UTC (rev 
8098)
@@ -21,6 +21,12 @@
 #
 # $Id$
 
+"""
+Generic base classes for GNUe RPC server- and client-drivers
+"""
+
+__all__ = ['ServerProxy', 'Client', 'ProxyMethod', 'Server']
+
 import sys
 import traceback
 import urlparse

Modified: trunk/gnue-common/src/rpc/drivers/__init__.py
===================================================================
--- trunk/gnue-common/src/rpc/drivers/__init__.py       2005-11-15 13:37:03 UTC 
(rev 8097)
+++ trunk/gnue-common/src/rpc/drivers/__init__.py       2005-11-16 13:20:18 UTC 
(rev 8098)
@@ -0,0 +1,26 @@
+# GNU Enterprise Common Library - RPC Library - RPC drivers
+#
+# Copyright 2001-2005 Free Software Foundation
+#
+# This file is part of GNU Enterprise
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or (at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# $Id$
+
+"""
+GNUe RPC driver plugins
+"""

Modified: trunk/gnue-common/src/rpc/drivers/pyro/__init__.py
===================================================================
--- trunk/gnue-common/src/rpc/drivers/pyro/__init__.py  2005-11-15 13:37:03 UTC 
(rev 8097)
+++ trunk/gnue-common/src/rpc/drivers/pyro/__init__.py  2005-11-16 13:20:18 UTC 
(rev 8098)
@@ -1,2 +1,26 @@
-# Not functional at the moment
-#__noplugin__ = True
+# GNU Enterprise Common Library - RPC library - PyRo driver
+#
+# Copyright 2001-2005 Free Software Foundation
+#
+# This file is part of GNU Enterprise
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or (at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# $Id$
+
+"""
+GNUe RPC driver using Pyro
+"""

Modified: trunk/gnue-common/src/rpc/drivers/xmlrpc/__init__.py
===================================================================
--- trunk/gnue-common/src/rpc/drivers/xmlrpc/__init__.py        2005-11-15 
13:37:03 UTC (rev 8097)
+++ trunk/gnue-common/src/rpc/drivers/xmlrpc/__init__.py        2005-11-16 
13:20:18 UTC (rev 8098)
@@ -0,0 +1,26 @@
+# GNU Enterprise Common Library - RPC library - xmlrpc driver
+#
+# Copyright 2001-2005 Free Software Foundation
+#
+# This file is part of GNU Enterprise
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or (at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# $Id$
+
+"""
+GNUe RPC driver using python's builtin xmlrpc
+"""

Modified: trunk/gnue-common/src/rpc/server.py
===================================================================
--- trunk/gnue-common/src/rpc/server.py 2005-11-15 13:37:03 UTC (rev 8097)
+++ trunk/gnue-common/src/rpc/server.py 2005-11-16 13:20:18 UTC (rev 8098)
@@ -21,6 +21,13 @@
 #
 # $Id$
 
+"""
+Server side of a GNUe RPC connection
+"""
+
+__all__ ['bind', 'AdapterInitializationError', 'AdapterConfigurationError',
+         'ProgrammingError', 'InvalidParameter']
+
 from gnue.common.apps import errors, plugin
 
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]