Package flumotion :: Package component :: Package base :: Module admin_gtk :: Class FeedersAdminGtkNode
[hide private]

Class FeedersAdminGtkNode

source code

common.log.Loggable --+    
                      |    
       BaseAdminGtkNode --+
                          |
                         FeedersAdminGtkNode

Instance Methods [hide private]
 
__init__(self, state, admin) source code
 
select(self, watcher) source code
 
setFeederName(self, state, value) source code
 
setFeederClientName(self, state, value) source code
 
setFeederClientBytesReadCurrent(self, state, value) source code
 
setFeederClientBuffersDroppedCurrent(self, state, value) source code
 
setFeederClientBytesReadTotal(self, state, value) source code
 
setFeederClientBuffersDroppedTotal(self, state, value) source code
 
setFeederClientReconnects(self, state, value) source code
 
setFeederClientLastConnect(self, state, value) source code
 
setFeederClientLastDisconnect(self, state, value) source code
 
setFeederClientLastActivity(self, state, value) source code
 
setFeederClientFD(self, state, value) source code
 
updateConnectionTime(self) source code
 
updateDisconnectionTime(self) source code
 
addFeeder(self, uiState, state) source code
 
addFeederClient(self, feederState, state) source code
 
removeFeederClient(self, feederState, state) source code
 
setUIState(self, state)
Called by the BaseAdminGtk when it gets the UI state and the GUI is ready.
source code
 
haveWidgetTree(self)
I am called when the widget tree has been gotten from the glade file.
source code

Inherited from BaseAdminGtkNode: callRemote, createWidget, getElementProperty, getWidget, gotUIState, loadGladeFile, propertyChanged, propertyErrback, render, setElementProperty, stateAppend, stateDelitem, stateRemove, stateSet, stateSetitem, status_pop, status_push

Inherited from common.log.Loggable: __providedBy__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Class Variables [hide private]
  glade_file = os.path.join('flumotion', 'component', 'base', 'f...

Inherited from BaseAdminGtkNode: gettext_domain, logCategory

Inherited from common.log.Loggable: __implemented__, __provides__

Instance Variables [hide private]

Inherited from BaseAdminGtkNode: widget, wtree

Method Details [hide private]

__init__(self, state, admin)
(Constructor)

source code 
Parameters:
  • state - state of component this is a UI node for
  • admin - the admin model that interfaces with the manager for us
  • title - the (translated) title to show this node with
Overrides: BaseAdminGtkNode.__init__
(inherited documentation)

addFeeder(self, uiState, state)

source code 
Parameters:
  • uiState - the component's uiState
  • state - the feeder's uiState

addFeederClient(self, feederState, state)

source code 
Parameters:
  • uiState - the component's uiState
  • state - the feeder client's uiState

setUIState(self, state)

source code 

Called by the BaseAdminGtk when it gets the UI state and the GUI is ready. Chain up if you provide your own implementation.

Overrides: BaseAdminGtkNode.setUIState
(inherited documentation)

haveWidgetTree(self)

source code 

I am called when the widget tree has been gotten from the glade file. Responsible for setting self.widget.

Override me to act on it.

Overrides: BaseAdminGtkNode.haveWidgetTree
(inherited documentation)

Class Variable Details [hide private]

glade_file

Value:
os.path.join('flumotion', 'component', 'base', 'feeders.glade')