本文整理汇总了Python中plugins.Plugin.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python Plugin.__init__方法的具体用法?Python Plugin.__init__怎么用?Python Plugin.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类plugins.Plugin
的用法示例。
在下文中一共展示了Plugin.__init__方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from plugins import Plugin [as 别名]
# 或者: from plugins.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.__client = None
self.__process = None
self.__isWinOs = None
self.__path = None
self.__configFileName = 'ias.properties'
示例2: __init__
# 需要导入模块: from plugins import Plugin [as 别名]
# 或者: from plugins.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.__shell = None
self.bin_path = None
self.__crgMap = None
self.applicationOsh = None
self.cmdlets_prefix = ""
示例3: __init__
# 需要导入模块: from plugins import Plugin [as 别名]
# 或者: from plugins.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.__client = None
self.__process = None
self.__isWinOs = None
self.__cmd = None
self.__listenerStatus = None
示例4: __init__
# 需要导入模块: from plugins import Plugin [as 别名]
# 或者: from plugins.Plugin import __init__ [as 别名]
def __init__(self, *args, **kwargs):
Plugin.__init__(self, *args, **kwargs)
self.url = ('http://hd{}.freebox.fr/pub/'
'remote_control?code={}&key={{}}').format(
self.conf('boxnumber'),
self.conf('remotecode')
)
示例5: __init__
# 需要导入模块: from plugins import Plugin [as 别名]
# 或者: from plugins.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.__shell = None
self.ftCli_bin_path = None
self.fsSeparator = None
self.ftCli_executePath = None
self.ftCli_name = None
self.domainName = None
示例6: __init__
# 需要导入模块: from plugins import Plugin [as 别名]
# 或者: from plugins.Plugin import __init__ [as 别名]
def __init__(self, *args, **kwargs):
Plugin.__init__(self, *args, **kwargs)
lircrc = tempfile.NamedTemporaryFile('w', delete=False)
self.lircrc = lircrc.name
for key, value in self.allconf():
lircrc.write(
'begin\n'
' prog = mediacontroller\n'
' button = {}\n'
' config = {}\n'
'end\n'.format(key, value)
)
lircrc.close()
示例7: __init__
# 需要导入模块: from plugins import Plugin [as 别名]
# 或者: from plugins.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.version = None
self.supportRouting = None
self.msgStorageLimit = None
self.jStorageLimit = None
self.applicationOsh = None
self.client = None
self.context = None
self.domainParamsList = None
self.msmqParamsList = None
self.domainFqdn = None
self.installationType = None
self.isTriggersEnabled = None
self.msmqInstallParams = None
示例8: __init__
# 需要导入模块: from plugins import Plugin [as 别名]
# 或者: from plugins.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self, "exec")
示例9: __init__
# 需要导入模块: from plugins import Plugin [as 别名]
# 或者: from plugins.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.processPath = None
self.allowedProcesses = []
self.useAllProcesses = 0
示例10: __init__
# 需要导入模块: from plugins import Plugin [as 别名]
# 或者: from plugins.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.__client = None
self.__applicationOsh = None
self.version = None
self.separator = None
示例11: __init__
# 需要导入模块: from plugins import Plugin [as 别名]
# 或者: from plugins.Plugin import __init__ [as 别名]
def __init__(self):
BasePlugin.__init__(self)
示例12: __init__
# 需要导入模块: from plugins import Plugin [as 别名]
# 或者: from plugins.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.pattern = r'com\.ibm\.ws\.runtime\.WsServer\s+"?[^"|\s]*"?\s+([^\s]*)\s+([^\s]*)\s+([^\s]*)\s*'
示例13: __init__
# 需要导入模块: from plugins import Plugin [as 别名]
# 或者: from plugins.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.command = "reg"
示例14: __init__
# 需要导入模块: from plugins import Plugin [as 别名]
# 或者: from plugins.Plugin import __init__ [as 别名]
def __init__(self):
Plugin.__init__(self)
self.client = None
示例15: __init__
# 需要导入模块: from plugins import Plugin [as 别名]
# 或者: from plugins.Plugin import __init__ [as 别名]
def __init__(self, *args, **kwargs):
Plugin.__init__(self, *args, **kwargs)
self.lirc_irsend = self.conf('irsend')
self.lirc_device = self.conf('device')
self.lirc_remotename = self.conf('remotename')
self.__read_status()