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

type 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) source code
 
__str__(self) source code
 
__eq__(self, obj) source code
Static Methods [hide private]
Response
parseResponse(responseString, versionCheck=None)
Parses a response string
source code
Method Details [hide private]

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

source code 
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 
Overrides: object.__str__
(inherited documentation)