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

GObjectMeta FGDPBase

source code

       object --+                
                |                
       ??.GObject --+            
                    |            
           gst.Object --+        
                        |        
              gst.Element --+    
                            |    
           object --+       |    
                    |       |    
   gobject.GInterface --+   |    
                        |   |    
??.__main__.GstChildProxy --+    
                            |    
                      gst.Bin --+
                                |
                   object --+   |
                            |   |
               _ProtocolMixin --+
                                |
                               FGDPBase
Known Subclasses:

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 gst.Bin: __init__, __iter__, __repr__, __str__, add, add_many, do_add_element, do_handle_message, do_remove_element, elements, find_unconnected_pad, find_unlinked_pad, get_by_interface, get_by_name, iterate_all_by_interface, iterate_sources, recalculate_latency, recurse, remove, remove_many, sinks, sorted

Inherited from gst.Element: abort_state, add_pad, change_state, continue_state, create_all_pads, do_get_index, do_provide_clock, do_query, do_release_pad, do_request_new_pad, do_send_event, do_set_bus, do_set_clock, do_set_index, flags, found_tags, found_tags_for_pad, get_base_time, get_bus, get_clock, get_compatible_pad, get_compatible_pad_template, get_factory, get_index, get_pad, get_pad_template, get_pad_template_list, get_query_types, get_request_pad, get_start_time, get_state, get_static_pad, implements_interface, is_indexable, is_locked_state, link, link_filtered, link_pads, link_pads_filtered, link_pads_full, lost_state, lost_state_full, no_more_pads, pads, post_message, provide_clock, provides_clock, query, query_convert, query_duration, query_position, release_request_pad, remove_pad, request_pad, requires_clock, seek, seek_simple, send_event, set_base_time, set_bus, set_clock, set_index, set_locked_state, set_start_time, set_state, sink_pads, src_pads, sync_state_with_parent, unlink, unlink_pads

Inherited from gst.Object: debug, default_error, error, fixme, get_name, get_name_prefix, get_parent, get_path_string, has_ancestor, info, log, memdump, set_flag, set_name, set_name_prefix, set_parent, set_property, unparent, unset_flag, warning

Inherited from unreachable.GObject: __copy__, __deepcopy__, __delattr__, __eq__, __gdoc__, __ge__, __gobject_init__, __gt__, __hash__, __le__, __lt__, __ne__, __new__, __setattr__, chain, connect, connect_after, connect_object, connect_object_after, disconnect, disconnect_by_func, emit, emit_stop_by_name, freeze_notify, get_data, get_properties, get_property, handler_block, handler_block_by_func, handler_disconnect, handler_is_connected, handler_unblock, handler_unblock_by_func, notify, props, set_data, set_properties, stop_emission, thaw_notify, weak_ref

Inherited from _ProtocolMixin: start, stop

Inherited from _ProtocolMixin (private): _start_pull, _start_push

Class Variables [hide private]
str mode = 'pull'
str host = 'localhost'
int port = 15000
  username = 'user'
  password = 'test'
  maxDelay = 5
  version = '0.1'
  __gproperties__ = {'mode':(gobject.TYPE_STRING, 'mode', "Conne...
  __gsignals__ = {"connected":(gobject.SIGNAL_RUN_LAST, gobject....
  __gtype__ = <GType flumotion+component+common+fgdp+fgdp+FGDPBa...

Inherited from _ProtocolMixin (private): _connector, _listener

Properties [hide private]

Inherited from gst.Object: __gstrefcount__

Inherited from unreachable.GObject: __grefcount__

Method Details [hide private]

do_change_state(self, transition)

source code 
Overrides: gst.Element.do_change_state

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,))}

__gtype__

Value:
<GType flumotion+component+common+fgdp+fgdp+FGDPBase (1099608006768)>