Package elisa :: Package core :: Module interface_controller :: Class InterfaceController
[hide private]
[frames] | no frames]

Class InterfaceController

source code


InterfaceController is responsible for creating, managing and deleting elisa.core.frontend.Frontends and elisa.core.backend.Backends defined by the user, and to associate them together. It also links the chosen elisa.base_components.input_provider.InputProviders with them.

Instance Methods [hide private]
 
__init__(self) source code
 
_initialize_mvc_mappings(self, backend_paths, frontend_paths) source code
 
_get_mvc_config_file(self, mvc_mappings) source code
 
_get_mvc_config_from_frontend(self, backend_name) source code
 
initialize(self)
Initialize various variables internal to the InterfaceController such as the backends and the frontends.
source code
 
_create_backend(self, backend_name) source code
 
_create_frontend(self, frontend_name) source code
 
_create_input_providers(self, path, origin='frontend', viewport='frontend') source code
 
start(self)
Start refreshing the frontends periodically.
source code
twisted.internet.defer.Deferred
stop(self)
Stop refreshing the frontends and terminate the backends.
source code

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

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  _backends = {}
  _frontends = {}
  _activities = {}

Inherited from extern.log.log.Loggable: logCategory

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: log.Loggable.__init__

initialize(self)

source code 

Initialize various variables internal to the InterfaceController such as the backends and the frontends.

This method is called after the application's configuration is loaded.