Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

#!/usr/bin/env python 

 

""" 

@file ion/core/pack/ioncore_app.py 

@author Michael Meisinger 

@brief Application module for ioncore 

""" 

 

from twisted.internet import defer 

from zope.interface import implements, Interface 

 

import ion.util.ionlog 

log = ion.util.ionlog.getLogger(__name__) 

 

from ion.core import bootstrap 

 

@defer.inlineCallbacks 

def start(container, starttype, app_definition, *args, **kwargs): 

    yield bootstrap.init_ioncore() 

 

    res = (None,[]) 

    defer.returnValue(res) 

 

def stop(container, state): 

    return defer.succeed(None)