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)
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)
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)
def __init__(self): """ Perform the initialization of your data here, after the superClass initialization. """ superClass.__init__(self)