Package gnue :: Package common :: Package rpc :: Package drivers :: Module Base :: Class ServerProxy
[show private | hide private]

Class ServerProxy

Known Subclasses:
ObjectProxy, ObjectProxy, ServerProxy

A ServerProxy provides access to the RPC server, where each attribute is encapsulated by a ProxyMethod instance. Such an instance executes the encapsulated method (the former attribute) on the RPC server.
Method Summary
  __init__(self, adapter)
Create a new proxy for the given adapter
  __getattr__(self, name)
Wrap a ProxyMethod around the requested attribute name.
  __repr__(self)
  __str__(self)

Method Details

__init__(self, adapter)
(Constructor)

Create a new proxy for the given adapter
Parameters:
adapter - Server instance to send all requests to

__getattr__(self, name)
(Qualification operator)

Wrap a ProxyMethod around the requested attribute name.
Parameters:
name - (method)-name to be wrapped within a ProxyMethod

__repr__(self)
(Representation operator)

__str__(self)
(Informal representation operator)



GNUe Home

Public API

Developer's Corner