File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,3 +23,9 @@ Other clients are tested similarly.
2323
2424For hostname, use e.g. wuarchive.wustl.edu or gatekeeper.dec.com (two
2525hosts that are known to export NFS filesystems with little restrictions).
26+
27+ There are now two different RPC compilers:
28+
29+ 1) Wim Lewis rpcgen.py found on http://www.omnigroup.com/~wiml/soft/stale-index.html#python.
30+
31+ 2) Peter �strands rpcgen.py, which is part of "pynfs" (http://www.cendio.se/~peter/pynfs/).
Original file line number Diff line number Diff line change 11# Mount RPC client -- RFC 1094 (NFS), Appendix A
22
33# This module demonstrates how to write your own RPC client in Python.
4- # Since there is no RPC compiler for Python (yet), you must first
5- # create classes derived from Packer and Unpacker to handle the data
6- # types for the server you want to interface to. You then write the
7- # client class. If you want to support both the TCP and the UDP
8- # version of a protocol, use multiple inheritance as shown below.
4+ # When this example was written, there was no RPC compiler for
5+ # Python. Without such a compiler, you must first create classes
6+ # derived from Packer and Unpacker to handle the data types for the
7+ # server you want to interface to. You then write the client class.
8+ # If you want to support both the TCP and the UDP version of a
9+ # protocol, use multiple inheritance as shown below.
910
1011
1112import rpc
You can’t perform that action at this time.
0 commit comments