ok
Direktori : /proc/self/root/proc/thread-self/root/lib/python2.7/site-packages/tuned/exports/ |
Current File : //proc/self/root/proc/thread-self/root/lib/python2.7/site-packages/tuned/exports/__init__.pyo |
� ��\c @ sj d d l m Z d d l m Z d d l m Z d � Z d � Z d � Z d � Z d � Z d � Z d S( i ( t interfaces( t controller( t dbus_exporterc s � � f d � } | S( s* Decorator, use to mark exportable methods.c s � � g | _ | S( N( t export_params( t method( t argst kwargs( s: /usr/lib/python2.7/site-packages/tuned/exports/__init__.pyt wrapper s ( ( R R R ( ( R R s: /usr/lib/python2.7/site-packages/tuned/exports/__init__.pyt export s c s � � f d � } | S( s* Decorator, use to mark exportable signals.c s � � g | _ | S( N( t signal_params( R ( R R ( s: /usr/lib/python2.7/site-packages/tuned/exports/__init__.pyR s ( ( R R R ( ( R R s: /usr/lib/python2.7/site-packages/tuned/exports/__init__.pyt signal s c C s: t | t j � s t � � n t j j � } | j | � S( N( t isinstanceR t ExporterInterfacet ExceptionR t ExportsControllert get_instancet register_exporter( t instancet ctl( ( s: /usr/lib/python2.7/site-packages/tuned/exports/__init__.pyR s c C s: t | t j � s t � � n t j j � } | j | � S( N( R R t ExportableInterfaceR R R R t register_object( R R ( ( s: /usr/lib/python2.7/site-packages/tuned/exports/__init__.pyR s c C s t j j � } | j � S( N( R R R t start( R ( ( s: /usr/lib/python2.7/site-packages/tuned/exports/__init__.pyR s c C s t j j � } | j � S( N( R R R t stop( R ( ( s: /usr/lib/python2.7/site-packages/tuned/exports/__init__.pyR # s N( t R R R t dbusR R R R R R ( ( ( s: /usr/lib/python2.7/site-packages/tuned/exports/__init__.pyt <module> s