Package SPyRO :: Module SPyRO :: Class Request
[show private | hide private]
[frames | no frames]

Class Request


Object to request to the remote object server

Values of the variables: # Say bye ReqBye = 'BYE' # Request to Get Remote Attr ReqGetAttr = 'GET' # Set an attribute ReqSetAttr = 'SET' # Del an object ReqDelObj = 'DEL' # Request to Call a remote method ReqCallMethod = 'CALL'
Method Summary
  __init__(self, objname, attrname, reqtype, auth)
A SPyRO Request, It receives: |objname| The object name (ID in the server) |attrname| The name of the requested attribute |reqtype| The type of the request.
  setstate(self, state)

Class Variable Summary
str ReqBye = 'BYE'
str ReqCallMethod = 'CALL'
str ReqDelObj = 'DEL'
str ReqGetAttr = 'GET'
str ReqSetAttr = 'SET'

Method Details

__init__(self, objname=None, attrname=None, reqtype=None, auth=None)
(Constructor)

A SPyRO Request, It receives: |objname| The object name (ID in the server) |attrname| The name of the requested attribute |reqtype| The type of the request. It can be ReqBye, ReqGetAttr, ReqSetAttr, ReqCallMethod

Class Variable Details

ReqBye

Type:
str
Value:
'BYE'                                                                  

ReqCallMethod

Type:
str
Value:
'CALL'                                                                 

ReqDelObj

Type:
str
Value:
'DEL'                                                                  

ReqGetAttr

Type:
str
Value:
'GET'                                                                  

ReqSetAttr

Type:
str
Value:
'SET'                                                                  

Generated by Epydoc 2.1 on Sat Oct 14 11:50:52 2006 http://epydoc.sf.net