Part of twisted.internet.iocpreactor.proactor View Source View In Hierarchy
Method | __init__ | Undocumented |
Method | startRunning | Undocumented |
Method | run | Undocumented |
Method | mainLoop | Undocumented |
Method | removeAll | Undocumented |
Method | installWaker | Undocumented |
Method | wakeUp | Wake up the event loop. |
Method | listenTCP | Connects a given protocol factory to the given numeric TCP/IP port. |
Method | connectTCP | Connect a TCP client. |
Method | listenUDP | Connects a given DatagramProtocol to the given numeric UDP port. |
Method | listenMulticast | Connects a given |
Method | connectUDPblah | Undocumented |
Method | listenWith | Start an instance of the given portType listening.
|
Method | connectWith | Start an instance of the given connectorType
connecting.
|
Method | spawnProcess | Spawn a process. |
Method | logPrefix | Override this method to insert custom logging behavior. Its |
Inherited from ReactorBase:
Method | installResolver | Set the internal resolver to use to for name lookups. |
Method | doIteration | Do one iteration over the readers and writers we know about. |
Method | addReader | Undocumented |
Method | addWriter | Undocumented |
Method | removeReader | Undocumented |
Method | removeWriter | Undocumented |
Method | resolve | Return a Deferred that will resolve a hostname. |
Method | stop | See twisted.internet.interfaces.IReactorCore.stop. |
Method | crash | See twisted.internet.interfaces.IReactorCore.crash. |
Method | sigInt | Handle a SIGINT interrupt. |
Method | sigBreak | Handle a SIGBREAK interrupt. |
Method | sigTerm | Handle a SIGTERM interrupt. |
Method | disconnectAll | Disconnect every reader, and writer in the system. |
Method | iterate | See twisted.internet.interfaces.IReactorCore.iterate. |
Method | fireSystemEvent | See twisted.internet.interfaces.IReactorCore.fireSystemEvent. |
Method | _cbContinueSystemEvent | Undocumented |
Method | _continueSystemEvent | Undocumented |
Method | addSystemEventTrigger | See twisted.internet.interfaces.IReactorCore.addSystemEventTrigger. |
Method | removeSystemEventTrigger | See twisted.internet.interfaces.IReactorCore.removeSystemEventTrigger. |
Method | callWhenRunning | See twisted.internet.interfaces.IReactorCore.callWhenRunning. |
Method | callLater | See twisted.internet.interfaces.IReactorTime.callLater. |
Method | _moveCallLaterSooner | Undocumented |
Method | _cancelCallLater | Undocumented |
Method | cancelCallLater | See twisted.internet.interfaces.IReactorTime.cancelCallLater. |
Method | getDelayedCalls | Return all the outstanding delayed calls in the system. |
Method | _insertNewDelayedCalls | Undocumented |
Method | timeout | Undocumented |
Method | runUntilCurrent | Run all pending timed calls. |
Method | _initThreads | Undocumented |
Method | callFromThread 0 | See twisted.internet.interfaces.IReactorThreads.callFromThread. |
Method | _initThreadPool | Undocumented |
Method | callInThread | See twisted.internet.interfaces.IReactorThreads.callInThread. |
Method | suggestThreadPoolSize | See twisted.internet.interfaces.IReactorThreads.suggestThreadPoolSize. |
Method | callFromThread | Undocumented |
Parameters | port | a port number on which to listen |
factory | a twisted.internet.protocol.ServerFactory
instance
| |
backlog | size of the listen queue | |
interface | the hostname to bind to, defaults to '' (all) | |
Returns | an object that provides IListeningPort .
| |
Raises | CannotListenError | as defined here twisted.internet.error.CannotListenError ,
if it cannot listen on this port (e.g., it cannot bind to the required
port number)
|
Parameters | host | a host name |
port | a port number | |
factory | a twisted.internet.protocol.ClientFactory
instance
| |
timeout | number of seconds to wait before assuming the connection has failed. | |
bindAddress | a (host, port) tuple of local address to bind to, or None. | |
Returns | An object which provides IConnector .
This connector will call various callbacks on the factory when a
connection is made, failed, or lost - see ClientFactory
docs for details.
|
Returns | object which provides IListeningPort .
|
DatagramProtocol
to the given numeric UDP port.
Parameters | listenMultiple | boolean indicating whether multiple sockets can bind to same UDP port. |
Returns | An object which provides IListeningPort .
|
portType
listening.
Parameters | portType | The object given by portType(*args, **kw) will be started
listening.
(type: type which implements IListeningPort
) |
Returns | an object which provides IListeningPort .
|
connectorType
connecting.
Parameters | connectorType | The object given by connectorType(*args, **kw) will be
started connecting.
(type: type which implements IConnector
) |
Returns | An object which provides IConnector .
|