Package ZenEvents :: Module zenpop3 :: Class POPFactory
[hide private]
[frames] | no frames]

Class POPFactory

source code

  twisted.internet.protocol.Factory --+    
                                      |    
twisted.internet.protocol.ClientFactory --+
                                          |
                                         POPFactory

factory that stores the configuration the protocol uses to do it's job.

Nested Classes [hide private]
  protocol
protocol that is responsible for conversing with a pop server after a connection has been established.
Instance Methods [hide private]
 
__init__(self, user, passwd, processor, cycletime, cycle, nodelete, finish) source code
 
handleMessage(self, messageData) source code
 
clientConnectionFailed(self, connection, reason)
Called when a connection has failed to connect.
source code
 
scanComplete(self, results) source code

Inherited from twisted.internet.protocol.ClientFactory: clientConnectionLost, startedConnecting

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

Class Variables [hide private]

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

Method Details [hide private]

clientConnectionFailed(self, connection, 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)