Package elisa :: Package base_components :: Module service_provider
[hide private]
[frames] | no frames]

Source Code for Module elisa.base_components.service_provider

 1  # -*- coding: utf-8 -*- 
 2  # Elisa - Home multimedia server 
 3  # Copyright (C) 2006-2008 Fluendo Embedded S.L. (www.fluendo.com). 
 4  # All rights reserved. 
 5  # 
 6  # This file is available under one of two license agreements. 
 7  # 
 8  # This file is licensed under the GPL version 3. 
 9  # See "LICENSE.GPL" in the root of this distribution including a special 
10  # exception to use Elisa with Fluendo's plugins. 
11  # 
12  # The GPL part of Elisa is also available under a commercial licensing 
13  # agreement from Fluendo. 
14  # See "LICENSE.Elisa" in the root directory of this distribution package 
15  # for details on that license. 
16   
17   
18  __maintainer__ = 'Florian Boucault <florian@fluendo.com>' 
19   
20   
21  from elisa.core.component import Component 
22   
23   
24 -class ServiceProvider(Component):
25 """ ServiceProviders run during all the lifetime of the application. 26 They are started first in the components initialization sequence, so they 27 should listen to the message bus for the 'components_initialized' message 28 before communication with other components. 29 """ 30
31 - def start(self):
32 """ 33 Start the service. 34 35 DOCME more 36 """
37
38 - def stop(self):
39 """ 40 Stop the service. 41 42 DOCME more 43 """
44