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

Class Command

source code

object --+
         |
        Command

Command for the FGDP procotol, sent by the client to the server

Instance Methods [hide private]
 
__init__(self, command, 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]
Command
parseCommand(commandString, versionCheck=None)
Parses a command string
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 

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

Overrides: object.__init__
(inherited documentation)

parseCommand(commandString, versionCheck=None)
Static Method

source code 

Parses a command string

Parameters:
  • commandString (str) - string with the command
  • versionCheck (tuple) - version number to check
Returns: Command
A newly created Command
Raises:

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)