Package twisted :: Package internet :: Module default :: Class BaseConnector
[show private | hide private]
[frames | no frames]

Class BaseConnector

Known Subclasses:
TCPConnector, UNIXConnector, SSLConnector

Basic implementation of connector.

State can be: "connecting", "connected", "disconnected"
Method Summary
  __init__(self, reactor, factory, timeout)
  buildProtocol(self, addr)
  cancelTimeout(self)
  connect(self)
Start connection to remote server.
  connectionFailed(self, reason)
  connectionLost(self, reason)
  disconnect(self)
Disconnect whatever our are state is.
  stopConnecting(self)
Stop attempting to connect.

Class Variable Summary
int factoryStarted
class IConnector
NoneType timeoutID

Method Details

connect(self)

Start connection to remote server.

disconnect(self)

Disconnect whatever our are state is.

stopConnecting(self)

Stop attempting to connect.

Class Variable Details

factoryStarted

Type:
int
Value:
0                                                                      

IConnector

IConnector = twisted.internet.interfaces.IConnector

timeoutID

Type:
NoneType
Value:
None                                                                   

Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:28:10 2003 http://epydoc.sf.net