Package flumotion :: Package component :: Package common :: Package fgdp :: Module protocol :: Class Response
[hide private]

Class Response

source code

object --+
         |
        Response

Response for the FGDP protocol, sent by the server to the client

Instance Methods [hide private]
 
__init__(self, response, content, version)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__str__(self)
str(x)
source code
 
__eq__(self, obj) source code

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

Static Methods [hide private]
Response
parseResponse(responseString, versionCheck=None)
Parses a response string
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, response, content, version)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

parseResponse(responseString, versionCheck=None)
Static Method

source code 

Parses a response string

Parameters:
  • responseString (str) - string with the response
  • versionCheck (tuple) - version number to check
Returns: Response
A newly created Response
Raises:

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)