Package buildbot :: Package status :: Module words :: Class IrcStatusFactory
[frames] | no frames]

Class IrcStatusFactory

source code

  twisted.internet.protocol.Factory --+        
                                      |        
twisted.internet.protocol.ClientFactory --+    
                                          |    
                     ThrottledClientFactory --+
                                              |
                                             IrcStatusFactory

Nested Classes
  protocol
I represent the buildbot to an IRC server.
Instance Methods
 
__init__(self, nickname, password, channels, pm_to_nicks, categories, notify_events, noticeOnChannel=False, useRevisions=False, showBlameList=False, lostDelay=None, failedDelay=None, useColors=True) source code
 
__getstate__(self) source code
 
shutdown(self) source code
 
buildProtocol(self, address)
Create an instance of a subclass of Protocol.
source code
 
clientConnectionLost(self, connector, reason)
Called when an established connection is lost.
source code
 
clientConnectionFailed(self, connector, reason)
Called when a connection has failed to connect.
source code

Inherited from twisted.internet.protocol.ClientFactory: startedConnecting

Inherited from twisted.internet.protocol.Factory: __providedBy__, __provides__, doStart, doStop, logPrefix, startFactory, stopFactory

Class Variables
  status = None
hash(x)
  control = None
hash(x)
  shuttingDown = False
  p = None
hash(x)

Inherited from ThrottledClientFactory: failedDelay, lostDelay

Inherited from twisted.internet.protocol.Factory: __implemented__, noisy, numPorts

Method Details

__init__(self, nickname, password, channels, pm_to_nicks, categories, notify_events, noticeOnChannel=False, useRevisions=False, showBlameList=False, lostDelay=None, failedDelay=None, useColors=True)
(Constructor)

source code 
Overrides: ThrottledClientFactory.__init__

buildProtocol(self, address)

source code 

Create an instance of a subclass of Protocol.

The returned instance will handle input on an incoming server connection, and an attribute "factory" pointing to the creating factory.

Override this method to alter how Protocol instances get created.

Parameters:
  • addr - an object implementing twisted.internet.interfaces.IAddress
Overrides: twisted.internet.protocol.Factory.buildProtocol
(inherited documentation)

clientConnectionLost(self, connector, reason)

source code 

Called when an established connection is lost.

It may be useful to call connector.connect() - this will reconnect.

Overrides: twisted.internet.protocol.ClientFactory.clientConnectionLost
(inherited documentation)

clientConnectionFailed(self, connector, reason)

source code 

Called when a connection has failed to connect.

It may be useful to call connector.connect() - this will reconnect.

Overrides: twisted.internet.protocol.ClientFactory.clientConnectionFailed
(inherited documentation)