1
edit
Changes
Proxy
,→Code Samples
===Code Samples===
This Sample code is from a Python Remote Method Invocation program. It is copyrighted by <b>Irmen de Jong</b> and licensed by MIT. The code in this example is located in the <i>Clients.py </i> file of the <b>Pyro </b> system. It allows a user to write a module containing a class to be accessed remotely. The class the user created is registered by the Pyro Name Server. The client creates proxies for the remote objects to be invoked when a call is made to the object. The proxy pattern can be seen throughout this code file as highlighted:
<br />
<pre>