[Python-checkins] CVS: python/dist/src/Demo/rpc README,1.5,1.6 mountclient.py,1.7,1.8
Martin v. L?wis
loewis@users.sourceforge.net
Thu, 11 Oct 2001 12:23:30 -0700
Update of /cvsroot/python/python/dist/src/Demo/rpc
In directory usw-pr-cvs1:/tmp/cvs-serv13285
Modified Files:
README mountclient.py
Log Message:
Patch #469517: Info about rpcgen compilers.
Index: README
===================================================================
RCS file: /cvsroot/python/python/dist/src/Demo/rpc/README,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** README 1996/08/19 22:24:21 1.5
--- README 2001/10/11 19:23:28 1.6
***************
*** 24,25 ****
--- 24,31 ----
For hostname, use e.g. wuarchive.wustl.edu or gatekeeper.dec.com (two
hosts that are known to export NFS filesystems with little restrictions).
+
+ There are now two different RPC compilers:
+
+ 1) Wim Lewis rpcgen.py found on http://www.omnigroup.com/~wiml/soft/stale-index.html#python.
+
+ 2) Peter Åstrands rpcgen.py, which is part of "pynfs" (http://www.cendio.se/~peter/pynfs/).
Index: mountclient.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Demo/rpc/mountclient.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** mountclient.py 1993/12/17 14:32:26 1.7
--- mountclient.py 2001/10/11 19:23:28 1.8
***************
*** 2,10 ****
# This module demonstrates how to write your own RPC client in Python.
! # Since there is no RPC compiler for Python (yet), you must first
! # create classes derived from Packer and Unpacker to handle the data
! # types for the server you want to interface to. You then write the
! # client class. If you want to support both the TCP and the UDP
! # version of a protocol, use multiple inheritance as shown below.
--- 2,11 ----
# This module demonstrates how to write your own RPC client in Python.
! # When this example was written, there was no RPC compiler for
! # Python. Without such a compiler, you must first create classes
! # derived from Packer and Unpacker to handle the data types for the
! # server you want to interface to. You then write the client class.
! # If you want to support both the TCP and the UDP version of a
! # protocol, use multiple inheritance as shown below.