Package gnue :: Package common :: Package rpc :: Package drivers :: Package hessian :: Module ClientAdapter :: Class ObjectProxyMethod
[show private | hide private]

Class ObjectProxyMethod

ProxyMethod --+
              |
             ObjectProxyMethod


Provide a callable environment for an ObjectProxy. This will call the "_call" method at the remote server, giving the id-dictionary and the method-name as first and second argument.
Method Summary
  __init__(self, adapter, methodname, item)
  __call__(self, *args, **params)
Execute the wrapped RPC-Method via Client adapter using the given positional and keyword-arguments.
  __str__(self)
    Inherited from ProxyMethod
  __getattr__(self, name)
Support for nested methods, e.g.
  __repr__(self)

Method Details

__init__(self, adapter, methodname, item)
(Constructor)

Overrides:
gnue.common.rpc.drivers.Base.ProxyMethod.__init__

__call__(self, *args, **params)
(Call operator)

Execute the wrapped RPC-Method via Client adapter using the given positional and keyword-arguments.

Note: not all RPC adapter can handle keyword arguments, so take care.
Overrides:
gnue.common.rpc.drivers.Base.ProxyMethod.__call__ (inherited documentation)

__str__(self)
(Informal representation operator)

Overrides:
gnue.common.rpc.drivers.Base.ProxyMethod.__str__


GNUe Home

Public API

Developer's Corner