Example #1
0
 def __init__(self,
              nickname,
              password,
              channels,
              pm_to_nicks,
              tags,
              notify_events,
              useRevisions=False,
              showBlameList=False,
              parent=None,
              lostDelay=None,
              failedDelay=None,
              useColors=True,
              allowShutdown=False):
     ThrottledClientFactory.__init__(self,
                                     lostDelay=lostDelay,
                                     failedDelay=failedDelay)
     self.nickname = nickname
     self.password = password
     self.channels = channels
     self.pm_to_nicks = pm_to_nicks
     self.tags = tags
     self.parent = parent
     self.notify_events = notify_events
     self.useRevisions = useRevisions
     self.showBlameList = showBlameList
     self.useColors = useColors
     self.allowShutdown = allowShutdown
Example #2
0
 def __init__(self, nickname, password, channels, pm_to_nicks, tags, notify_events,
              useRevisions=False, showBlameList=False,
              parent=None,
              lostDelay=None, failedDelay=None, useColors=True, allowShutdown=False):
     ThrottledClientFactory.__init__(self, lostDelay=lostDelay,
                                     failedDelay=failedDelay)
     self.nickname = nickname
     self.password = password
     self.channels = channels
     self.pm_to_nicks = pm_to_nicks
     self.tags = tags
     self.parent = parent
     self.notify_events = notify_events
     self.useRevisions = useRevisions
     self.showBlameList = showBlameList
     self.useColors = useColors
     self.allowShutdown = allowShutdown
Example #3
0
 def clientConnectionFailed(self, connector, reason):
     if self.shuttingDown:
         log.msg("not scheduling reconnection attempt")
         return
     ThrottledClientFactory.clientConnectionFailed(self, connector, reason)
Example #4
0
 def clientConnectionFailed(self, connector, reason):
     if self.shuttingDown:
         log.msg("not scheduling reconnection attempt")
         return
     ThrottledClientFactory.clientConnectionFailed(self, connector, reason)