Trees | Index | Help |
---|
Package twisted :: Package internet :: Module base :: Class BaseConnector |
|
Ephemeral
--+
|
BaseConnector
Connector
Basic implementation of connector.
State can be: "connecting", "connected", "disconnected"Method Summary | |
---|---|
__init__(self,
factory,
timeout,
reactor)
| |
buildProtocol(self,
addr)
| |
cancelTimeout(self)
| |
Start connection to remote server. | |
connectionFailed(self,
reason)
| |
connectionLost(self,
reason)
| |
Disconnect whatever our state is. | |
getDestination(self)
| |
Stop attempting to connect. | |
Inherited from Ephemeral | |
| |
|
Class Variable Summary | |
---|---|
Implements |
__implemented__ = <implementedBy twisted.internet.base.B...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
int |
factoryStarted = 0 |
NoneType |
timeoutID = None |
Inherited from Ephemeral | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
Method Details |
---|
connect(self)Start connection to remote server. |
disconnect(self)Disconnect whatever our state is. |
stopConnecting(self)Stop attempting to connect. |
Class Variable Details |
---|
__implemented__
|
__provides__
|
factoryStarted
|
timeoutID
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sun Oct 26 16:39:17 2008 | http://epydoc.sf.net |