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

Class ZenTcpClient

  Factory --+    
            |    
ClientFactory --+
                |
               ZenTcpClient


Method Summary
  __init__(self, svc, status)
  clientConnectionFailed(self, connector, reason)
Called when a connection has failed to connect.
  clientConnectionLost(self, connector, reason)
Called when an established connection is lost.
  getEvent(self)
  start(self)
Inherited from ClientFactory: startedConnecting
Inherited from Factory: buildProtocol, doStart, doStop, startFactory, stopFactory

Class Variable Summary
NoneType deferred = None                                                                  
str msg = 'pass'
classobj protocol = ZenStatus.ZenTcpClient.ZenTcpTest
Inherited from Factory: __implemented__, __providedBy__, __provides__, noisy, numPorts

Method Details

clientConnectionFailed(self, connector, reason)

Called when a connection has failed to connect.

It may be useful to call connector.connect() - this will reconnect.
Parameters:
reason
           (type=twisted.python.failure.Failure)
Overrides:
twisted.internet.protocol.ClientFactory.clientConnectionFailed (inherited documentation)

clientConnectionLost(self, connector, reason)

Called when an established connection is lost.

It may be useful to call connector.connect() - this will reconnect.
Parameters:
reason
           (type=twisted.python.failure.Failure)
Overrides:
twisted.internet.protocol.ClientFactory.clientConnectionLost (inherited documentation)

Class Variable Details

deferred

Type:
NoneType
Value:
None                                                                  

msg

Type:
str
Value:
'pass'                                                                 

Generated by Epydoc 2.1 on Thu Aug 16 09:55:13 2007 http://epydoc.sf.net