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

Class IrcStatusFactory

source code

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

Nested Classes [hide private]
  protocol
I represent the buildbot to an IRC server.
Instance Methods [hide private]
 
__init__(self, nickname, password, channels, categories, notify_events) 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__, doStart, doStop, startFactory, stopFactory

Class Variables [hide private]
  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__, __provides__, noisy, numPorts

Method Details [hide private]

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)