Package ZenStatus :: Module ZenTcpClient :: Class ZenTcpClient
[hide private]
[frames] | no frames]

Class ZenTcpClient

source code

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

Nested Classes [hide private]
  protocol
Instance Methods [hide private]
 
__init__(self, svc, status) 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
 
getEvent(self) source code
 
start(self) source code

Inherited from twisted.internet.protocol.ClientFactory: startedConnecting

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

Class Variables [hide private]
  msg = 'pass'
  deferred = None

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

Method Details [hide private]

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)