Home | Trees | Index | Help |
|
---|
Package twisted :: Package internet :: Module interfaces :: Class IConnector |
|
object
--+ |Interface
--+ | IConnector
Object used to interface between connections and protocols.
Each IConnector manages one connection.Method Summary | |
---|---|
Try to connect to remote address. | |
Disconnect regardless of the connection state. | |
Return destination this will try to connect to. | |
Stop attempting to connect. | |
Inherited from Interface | |
(Class method) | |
Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Instance Method Details |
---|
connect(self)Try to connect to remote address. |
disconnect(self)Disconnect regardless of the connection state. If we are connected, disconnect, if we are trying to connect, stop trying. |
getDestination(self)Return destination this will try to connect to. This will be an IAddress implementing object. |
stopConnecting(self)Stop attempting to connect. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Aug 17 17:08:19 2004 | http://epydoc.sf.net |