Esempio n. 1
0
 def setup(self, ctxConfig, drvConfig):
     """
     Start the internal driver mechanisms (typically, start a centralized
     internal service that manages all driver capabilities)
     
     ctxConfig : provides the current context information (S/C name and others)
     drvConfig : provides the configuration parameters for this driver according
                 to the xml config file. 
     """
     superClass.setup(self, ctxConfig, drvConfig)
Esempio n. 2
0
    def setup(self, ctxConfig, drvConfig):
        """
        Start the internal driver mechanisms (typically, start a centralized
        internal service that manages all driver capabilities)

        ctxConfig : provides the current context information (S/C name and others)
        drvConfig : provides the configuration parameters for this driver according
                    to the xml config file. 
        """
        superClass.setup(self, ctxConfig, drvConfig)
Esempio n. 3
0
 def cleanup(self, shutdown = False):
     """
     Perform the cleanup of the internal driver resources.
     
     shutdown: when true, the SPELL executor is shutting down so every resource
     should be released. When false, it means that the driver is being unloaded
     but the executor keeps running. That is, it is possible that the driver
     will be loaded again later on (e.g. on a RELOAD command). In this case
     it may be interesting to keep some resources ready when 'shutdown' is false.
     """
     superClass.cleanup(self, shutdown)
Esempio n. 4
0
    def cleanup(self, shutdown=False):
        """
        Perform the cleanup of the internal driver resources.

        shutdown: when true, the SPELL executor is shutting down so every resource
        should be released. When false, it means that the driver is being unloaded
        but the executor keeps running. That is, it is possible that the driver
        will be loaded again later on (e.g. on a RELOAD command). In this case
        it may be interesting to keep some resources ready when 'shutdown' is false.
        """
        superClass.cleanup(self, shutdown)
Esempio n. 5
0
 def __init__(self):
     """
     Perform the initialization of your data here, after the superClass
     initialization.
     """
     superClass.__init__(self)
Esempio n. 6
0
 def __init__(self):
     """
     Perform the initialization of your data here, after the superClass
     initialization.
     """
     superClass.__init__(self)