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

26

27

28

#!/usr/bin/env python 

 

""" 

@file ion/core/intercept/policy.py 

@author Michael Meisinger 

@brief Governance tracking interceptor 

""" 

 

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 ioninit 

from ion.core.intercept.interceptor import EnvelopeInterceptor, PassThroughInterceptor 

import ion.util.procutils as pu 

 

 

class GovernanceInterceptor(EnvelopeInterceptor): 

    def before(self, invocation): 

        return invocation 

 

    def after(self, invocation): 

        return invocation 

 

del GovernanceInterceptor 

GovernanceInterceptor = PassThroughInterceptor