Open main menu

CDOT Wiki β

Changes

Proxy

39 bytes added, 21:02, 16 January 2007
Code Samples
===Code Samples===
====Virtual Proxy - Python====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 Virtual Proxy pattern can be seen throughout this code file as highlighted:
<br />
<pre>
1
edit