本文整理汇总了Python中mpx.service.ServiceNode.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python ServiceNode.__init__方法的具体用法?Python ServiceNode.__init__怎么用?Python ServiceNode.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类mpx.service.ServiceNode
的用法示例。
在下文中一共展示了ServiceNode.__init__方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from mpx.service import ServiceNode [as 别名]
# 或者: from mpx.service.ServiceNode import __init__ [as 别名]
def __init__(self):
ServiceNode.__init__(self)
UTC().configure({'name':'UTC','parent':self})
Local().configure({'name':'local','parent':self})
self._tz_mtime = None
self._in_err = False
self._scheduled = None
示例2: __init__
# 需要导入模块: from mpx.service import ServiceNode [as 别名]
# 或者: from mpx.service.ServiceNode import __init__ [as 别名]
def __init__(self):
ServiceNode.__init__(self)
self.debug = 0
self._registered = ()
self._did_save = 0
self._post_configuration=0
if self.debug: print 'Initialized _registered to [] for %s.' % self
示例3: __init__
# 需要导入模块: from mpx.service import ServiceNode [as 别名]
# 或者: from mpx.service.ServiceNode import __init__ [as 别名]
def __init__(self):
ServiceNode.__init__(self)
self._added_thread_count = 0
self._file_request_handler = None
self.psp_handler = None
self.authenticator = None
self.request_responder = None
self.request_manager = _request.RequestSingleton().request_manager
示例4: __init__
# 需要导入模块: from mpx.service import ServiceNode [as 别名]
# 或者: from mpx.service.ServiceNode import __init__ [as 别名]
def __init__(self):
self._lock = Lock()
self._started = 0
self._alarm = [] # can have a whole MESS o' alarms at startup...
self._scheduled = None
self.trigger_node_url_posn = None # allow source stamping
self.trigger_node_msg_posn = None # allow source stamping
self._waiting_alarm_sid = None
ServiceNode.__init__(self)
示例5: __init__
# 需要导入模块: from mpx.service import ServiceNode [as 别名]
# 或者: from mpx.service.ServiceNode import __init__ [as 别名]
def __init__(self):
ServiceNode.__init__(self)
self.transportClass = None # can't be set until we configure security
self.was_enabled = 0
self.enabled = 0
self.start_count = 0
self.stop_count = 0
self.state = self.STOPPED
self.debug = 0
self.__rna_thread = None
return
示例6: __init__
# 需要导入模块: from mpx.service import ServiceNode [as 别名]
# 或者: from mpx.service.ServiceNode import __init__ [as 别名]
def __init__(self):
ServiceNode.__init__(self)
self._tzklass = tzinfo.TZInfo
year = {'name':'year','index':0}
month = {'name':'month','index':1}
day = {'name':'day','index':2}
hour = {'name':'hour','index':3}
minute = {'name':'minute','index':4}
second = {'name':'second','index':5}
weekday = {'name':'weekday','index':6}
ta = [year,month,day,hour,minute,weekday,second]
for x in ta:
y = TimeAttribute(x['index'])
y.configure({'name':x['name'],'parent':self})
milliseconds = MilliSeconds()
milliseconds.configure({'name':'milliseconds','parent':self})
return
示例7: __init__
# 需要导入模块: from mpx.service import ServiceNode [as 别名]
# 或者: from mpx.service.ServiceNode import __init__ [as 别名]
def __init__(self):
ServiceNode.__init__(self)
self.critical_data = self._CriticalData()
示例8: __init__
# 需要导入模块: from mpx.service import ServiceNode [as 别名]
# 或者: from mpx.service.ServiceNode import __init__ [as 别名]
def __init__(self):
self.running = 0
ServiceNode.__init__(self)
示例9: __init__
# 需要导入模块: from mpx.service import ServiceNode [as 别名]
# 或者: from mpx.service.ServiceNode import __init__ [as 别名]
def __init__(self):
ServiceNode.__init__(self)
EventProducerMixin.__init__(self)
self.forwarder = self.LogEventFowarder(self)
return
示例10: __init__
# 需要导入模块: from mpx.service import ServiceNode [as 别名]
# 或者: from mpx.service.ServiceNode import __init__ [as 别名]
def __init__(self):
ServiceNode.__init__(self)
示例11: __init__
# 需要导入模块: from mpx.service import ServiceNode [as 别名]
# 或者: from mpx.service.ServiceNode import __init__ [as 别名]
def __init__(self):
ServiceNode.__init__(self)
self.column_names = () # Must be lazily initialized.
return
示例12: __init__
# 需要导入模块: from mpx.service import ServiceNode [as 别名]
# 或者: from mpx.service.ServiceNode import __init__ [as 别名]
def __init__(self):
ServiceNode.__init__(self)
self.running = 0
self.formatter = None
self.transporter = None