Trees | Index | Help |
---|
Package SPyRO :: Module SPyRO :: Class Response |
|
Method Summary | |
---|---|
Initialize the response with an error code |errcode| and the return value |retvalue| | |
Internal function, this is the real __call__ method | |
Returns the name of the errcode | |
Returns the returned value of calling |methodname| with arguments |args|. |
Class Variable Summary | |
---|---|
int |
ErrorExceptionThrowed = 3 |
list |
ErrorNames = ['Successful', 'ErrorUnknownObject', 'Error...
|
int |
ErrorUnknownAttribute = 2 |
int |
ErrorUnknownObject = 1 |
int |
ErrorUnknownRequestType = 4 |
int |
ObjectIsCallable = 5 |
int |
Successful = 0 |
Method Details |
---|
__init__(self,
errcode=None,
retvalue=None,
rettype=None)
Initialize the response with an error code |errcode| and the return
value |retvalue|
|
__call__(self,
*args,
**kwargs)
Internal function, this is the real __call__ method
|
errname(self)Returns the name of the errcode |
prepareToCall(self, remoteobj)Returns the returned value of calling |methodname| with arguments |args|. Can raise remote exceptions or locals due to remote errors |
Class Variable Details |
---|
ErrorExceptionThrowed
|
ErrorNames
|
ErrorUnknownAttribute
|
ErrorUnknownObject
|
ErrorUnknownRequestType
|
ObjectIsCallable
|
Successful
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sat Oct 14 11:50:52 2006 | http://epydoc.sf.net |