Home | Trees | Index | Help |
|
---|
Package twisted :: Package internet :: Module interfaces :: Class IProtocolFactory |
|
Interface
--+
|
IProtocolFactory
Method Summary | |
---|---|
Return an object implementing IProtocol , or None. | |
Called every time this is connected to a Port or Connector. | |
Called every time this is unconnected from a Port or Connector. |
Method Details |
---|
buildProtocol(self, addr)Return an object implementing This method will be called when a connection has been established to addr. If None is returned, the connection is assumed to have been refused, and the Port will close the connection. TODO:
|
doStart(self)Called every time this is connected to a Port or Connector. |
doStop(self)Called every time this is unconnected from a Port or Connector. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:07:50 2004 | http://epydoc.sf.net |