Package pyamf :: Package remoting :: Package client :: Class RequestWrapper
[hide private]
[frames] | no frames]

Class RequestWrapper

source code


A container object that wraps a service method request.

Instance Methods [hide private]
 
__init__(self, gw, id_, service, *args)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code
 
setResponse(self, response)
A response has been received by the gateway
source code
 
_get_result(self)
Returns the result of the called remote request.
source code
 
_set_result(self, result) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Instance Variables [hide private]
list args
The args used to invoke the call.
RemotingService gw
The underlying gateway.
str id
The id of the request.
ServiceProxy service
The service proxy.
Properties [hide private]
  result
Returns the result of the called remote request.

Inherited from object: __class__

Method Details [hide private]

__init__(self, gw, id_, service, *args)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

_get_result(self)

source code 

Returns the result of the called remote request. If the request has not yet been called, an AttributeError exception is raised.


Property Details [hide private]

result

Returns the result of the called remote request. If the request has not yet been called, an AttributeError exception is raised.

Get Method:
_get_result(self) - Returns the result of the called remote request.
Set Method:
_set_result(self, result)