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

Class FGDPBase

source code

       gst.Bin --+
                 |
    object --+   |
             |   |
_ProtocolMixin --+
                 |
                FGDPBase

Base class for gstreamer elements using the FGDP protocol

Instance Methods [hide private]
 
_handle_error(self, message) source code
 
do_change_state(self, transition) source code
 
do_set_property(self, prop, value) source code
 
do_get_property(self, prop) source code
 
prepare(self)
Should be implemented by subclasses that needs to do something before starting the server/client
source code

Inherited from _ProtocolMixin: start, stop

Inherited from _ProtocolMixin (private): _start_pull, _start_push

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

Class Variables [hide private]
str mode = 'pull'
str host = 'localhost'
hash(x)
int port = 15000
hash(x)
  username = 'user'
  password = 'test'
  maxDelay = 5
  version = '0.1'
  __gproperties__ = {'mode':(gobject.TYPE_STRING, 'mode', "Conne...
  __gsignals__ = {"connected":(gobject.SIGNAL_RUN_LAST, gobject....

Inherited from _ProtocolMixin (private): _connector, _listener

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

__gproperties__

Value:
{'mode':(gobject.TYPE_STRING, 'mode', "Connection mode: 'pull' or 'pus\
h'", 'pull', gobject.PARAM_READWRITE), 'host':(gobject.TYPE_STRING, 'h\
ost', 'Name of the host to connect (in push mode)', 'localhost', gobje\
ct.PARAM_READWRITE), 'port':(gobject.TYPE_INT, 'port', 'Connection por\
t', 1, 64000, 15000, gobject.PARAM_READWRITE), 'username':(gobject.TYP\
E_STRING, 'user name', 'Username for the authentication', 'user', gobj\
ect.PARAM_READWRITE), 'password':(gobject.TYPE_STRING, 'password', 'Pa\
ssword for the authentication', 'test', gobject.PARAM_READWRITE), 'ver\
...

__gsignals__

Value:
{"connected":(gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, []), "discon\
nected":(gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_STR\
ING,))}