Package flumotion :: Package admin :: Package text :: Module view :: Class AdminTextView
[hide private]

Class AdminTextView

source code

extern.log.log.Loggable --+
                          |
             object --+   |
                      |   |
        gobject.GObject --+
                          |
misc_curses.CursesStdIO --+
                          |
                         AdminTextView

Instance Methods [hide private]
 
__init__(self, model, stdscr)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_setAdminModel(self, model) source code
 
show(self) source code
 
show_components(self) source code
 
gotEntryCallback(self, result, name) source code
 
gotEntryNoBundleErrback(self, failure, name) source code
 
gotEntrySleepingComponentErrback(self, failure) source code
 
getEntry(self, componentState, type)
Do everything needed to set up the entry point for the given component and type, including transferring and setting up bundles.
source code
 
update_components(self, components) source code
 
setPlanetState(self, planetState) source code
 
_component_stop(self, state) source code
 
_component_start(self, state) source code
 
_component_do(self, state, action, doing, done) source code
 
run_command(self, command) source code
 
_runCommand_cb(self, result) source code
 
get_available_commands(self, input) source code
 
get_available_commands_for_component(self, comp, input) source code
 
get_available_completions(self, input) source code
 
display_status(self) source code
 
admin_connected_cb(self, admin) source code
 
admin_disconnected_cb(self, admin) source code
 
admin_connection_refused_cb(self, admin) source code
 
admin_connection_failed_cb(self, admin) source code
 
admin_update_cb(self, admin) source code
 
connectionLost(self, why) source code
 
whsStateAppend(self, state, key, value) source code
 
whsStateRemove(self, state, key, value) source code
 
doRead(self)
Input is ready!
source code
 
componentCall(self, componentState, methodName, *args, **kwargs) source code

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

Inherited from gobject.GObject: __cmp__, __delattr__, __gdoc__, __gobject_init__, __hash__, __new__, __repr__, __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, set_property, stop_emission, thaw_notify, weak_ref

Inherited from object: __getattribute__, __reduce__, __reduce_ex__, __str__

Inherited from misc_curses.CursesStdIO: fileno, logPrefix

Class Variables [hide private]
  logCategory = 'admintextview'
Implementors can provide a category to log their messages under.
  global_commands = ['startall', 'stopall', 'clearall', 'quit']
  LINES_BEFORE_COMPONENTS = 5
  LINES_AFTER_COMPONENTS = 6
  __implemented__ = <implementedBy flumotion.admin.text.view.Adm...
  __provides__ = <zope.interface.declarations.ClassProvides obje...

Inherited from gobject.GObject: __gtype__

Properties [hide private]

Inherited from gobject.GObject: __grefcount__

Inherited from object: __class__

Method Details [hide private]

__init__(self, model, stdscr)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

getEntry(self, componentState, type)

source code 

Do everything needed to set up the entry point for the given component and type, including transferring and setting up bundles.

Caller is responsible for adding errbacks to the deferred.

Returns:
a deferred returning (entryPath, filename, methodName) with entryPath: the full local path to the bundle's base fileName: the relative location of the bundled file methodName: the method to instantiate with

doRead(self)

source code 

Input is ready!

Overrides: misc_curses.CursesStdIO.doRead

Class Variable Details [hide private]

__implemented__

Value:
<implementedBy flumotion.admin.text.view.AdminTextView>

__provides__

Value:
<zope.interface.declarations.ClassProvides object at 0x91ac98c>