Open main menu

CDOT Wiki β

Changes

Proxy

79 bytes added, 20:55, 16 January 2007
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 Clients.py file of the Pyro 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>
1
edit