Esempio n. 1
0
    def configAdminProps(self):
        '''
        Configures the administrative properties for this channel.

        Only useful if the channel has not been created yet and this particular
        method is being overriden.

        Parameters: None

        Returns: A sequence of Administrative properties.

        Raises: Nothing
        '''
        if cdb_channel_config_exists(self.channelName):
            self.logger.logDebug("Found admin properties in the CDB")
            return get_channel_admin_props(self.channelName)
        else:
            return []
Esempio n. 2
0
 def configQofS(self):
     '''
     Configures the quality of service properties for this channel.
     
     Only useful if the channel has not been created yet and this particular
     method is being overriden.
     
     Parameters: None
     
     Returns: A sequence of Quality of Service properties.
     
     Raises: Nothing
     '''
     if cdb_channel_config_exists(self.channelName):
         self.logger.logDebug("Found Q of S properties in the CDB")
         return get_channel_qofs_props(self.channelName)
     else:
         return []
Esempio n. 3
0
 def configQofS(self):
     '''
     Configures the quality of service properties for this channel.
     
     Only useful if the channel has not been created yet and this particular
     method is being overriden.
     
     Parameters: None
     
     Returns: A sequence of Quality of Service properties.
     
     Raises: Nothing
     '''
     if cdb_channel_config_exists(self.channelName):
         self.logger.logDebug("Found Q of S properties in the CDB")
         return get_channel_qofs_props(self.channelName)
     else:
         return []
Esempio n. 4
0
    def configAdminProps(self):
        '''
        Configures the administrative properties for this channel.

        Only useful if the channel has not been created yet and this particular
        method is being overriden.

        Parameters: None

        Returns: A sequence of Administrative properties.

        Raises: Nothing
        '''
        if cdb_channel_config_exists(self.channelName):
            self.logger.logDebug("Found admin properties in the CDB")
            return get_channel_admin_props(self.channelName)
        else:
            return []