Home | Trees | Index | Help |
---|
Package twisted :: Package words :: Module tendril :: Class TendrilFactory |
|
Factory
--+ |ClientFactory
--+ |ReconnectingClientFactory
--+ |Accessor
--+ | TendrilFactory
I build Tendril clients for a words service.
All of a tendril's configurable state is stored here with me.Method Summary | |
---|---|
Initialize this factory with a words service. | |
__delattr__(self,
k)
(inherited from Accessor )
| |
__getattr__(self,
k)
(inherited from Accessor )
| |
__getstate__(self)
| |
__setattr__(self,
k,
v)
(inherited from Accessor )
| |
Create an instance of a subclass of Protocol. | |
Called when a connection has failed. (inherited from ReconnectingClientFactory )
| |
clientConnectionLost(self,
connector,
unused_reason)
(inherited from ReconnectingClientFactory )
| |
Make sure startFactory is called. (inherited from Factory )
| |
Make sure stopFactory is called. (inherited from Factory )
| |
get_errorGroup(self)
| |
get_groupList(self)
| |
*actually* del self.k without incurring side-effects. (inherited from Accessor )
| |
*actually* set self.k to v without incurring side-effects. (inherited from Accessor )
| |
Call me after a successful connection to reset. (inherited from ReconnectingClientFactory )
| |
Have this connector connect again, after a suitable delay. (inherited from ReconnectingClientFactory )
| |
set_errorGroup(self,
errorGroup)
| |
set_groupList(self,
groupList)
| |
set_helptext(self,
helptext)
| |
set_nickname(self,
nick)
| |
set_wordsService(self,
service)
| |
Called when a connection has been started. (inherited from ClientFactory )
| |
This will be called before I begin listening on a Port or Connector. | |
This will be called before I stop listening on all Ports/Connectors. (inherited from Factory )
| |
I put a stop to any attempt to reconnect in progress. (inherited from ReconnectingClientFactory )
|
Class Variable Summary | |
---|---|
tuple |
helptext
|
NoneType |
networkSuffix
|
NoneType |
nickname
|
NoneType |
perspectiveName
|
class |
TendrilIRC
|
NoneType |
wordsclient
|
NoneType |
wordsService
|
Method Details |
---|
__init__(self,
service)
Initialize this factory with a words service.
|
buildProtocol(self, addr)Create an instance of a subclass of Protocol. The returned instance will handle input on an incoming server connection, and an attribute "factory" pointing to the creating factory. Override this method to alter how Protocol instances get created.
|
startFactory(self)This will be called before I begin listening on a Port or Connector. It will only be called once, even if the factory is connected to multiple ports. This can be used to perform 'unserialization' tasks that are best put off until things are actually running, such as connecting to a database, opening files, etcetera.
|
Class Variable Details |
---|
helptext
|
networkSuffix
|
nickname
|
perspectiveName
|
TendrilIRCTendrilIRC = twisted.words.tendril.TendrilIRC
|
wordsclient
|
wordsService
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Fri Jun 27 03:46:29 2003 | http://epydoc.sf.net |