GTK+-2 event loop reactor with GUI.

Method listenTCP Connects a given protocol factory to the given numeric TCP/IP port.
Method connectTCP Connect a TCP client.
Method listenSSL Connects a given protocol factory to the given numeric TCP/IP port. The connection is a SSL one, using contexts created by the context factory.
Method connectSSL Connect a client Protocol to a remote SSL socket.
Method connectUNIX Connect a client protocol to a UNIX socket.
Method listenUNIX Listen on a UNIX socket.
Method on_disconnect_clicked Undocumented
Method on_viewlog_clicked Undocumented
Method on_inspect_clicked Undocumented
Method on_suspend_clicked Undocumented
Method toggle_suspend Undocumented
Method servers_selection_changed Undocumented
Method on_quit_clicked Undocumented
Method __init__ Undocumented
Method addReader Add a FileDescriptor for monitoring of data available to read.
Method addWriter Add a FileDescriptor for monitoring ability to write data.
Method removeReader Stop monitoring the given FileDescriptor for reading.
Method removeWriter Stop monitoring the given FileDescriptor for writing.
Method crash Crash the reactor.
Method run Run the reactor.
Method _goAway Undocumented
Method _maybeAddServer Undocumented

Inherited from _PollLikeMixin (via Gtk2Reactor, GlibReactorBase):

Method _doReadOrWrite fd is available for read or write, do the work and raise errors if necessary.

Inherited from _PollLikeMixin (via Gtk2Reactor, GlibReactorBase):

Method _doReadOrWrite fd is available for read or write, do the work and raise errors if necessary.

Inherited from _PollLikeMixin (via Gtk2Reactor, GlibReactorBase):

Method _doReadOrWrite fd is available for read or write, do the work and raise errors if necessary.

Inherited from _PollLikeMixin (via Gtk2Reactor, GlibReactorBase):

Method _doReadOrWrite fd is available for read or write, do the work and raise errors if necessary.

Inherited from _PollLikeMixin (via Gtk2Reactor, GlibReactorBase):

Method _doReadOrWrite fd is available for read or write, do the work and raise errors if necessary.

Inherited from _PollLikeMixin (via Gtk2Reactor, GlibReactorBase):

Method _doReadOrWrite fd is available for read or write, do the work and raise errors if necessary.
def listenTCP(self, port, factory, backlog=50, interface=''): (source)

Connects a given protocol factory to the given numeric TCP/IP port.

Parametersporta port number on which to listen
factorya twisted.internet.protocol.ServerFactory instance
backlogsize of the listen queue
interfaceThe local IPv4 or IPv6 address to which to bind; defaults to '', ie all IPv4 addresses. To bind to all IPv4 and IPv6 addresses, you must call this method twice.
Returnsan object that provides IListeningPort.
RaisesCannotListenErroras defined here twisted.internet.error.CannotListenError, if it cannot listen on this port (e.g., it cannot bind to the required port number)
def connectTCP(self, host, port, factory, timeout=30, bindAddress=None): (source)

Connect a TCP client.

ParametershostA hostname or an IPv4 or IPv6 address literal. (type: bytes)
porta port number
factorya twisted.internet.protocol.ClientFactory instance
timeoutnumber of seconds to wait before assuming the connection has failed.
bindAddressa (host, port) tuple of local address to bind to, or None.
ReturnsAn 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.
def listenSSL(self, port, factory, contextFactory, backlog=50, interface=''): (source)

Connects a given protocol factory to the given numeric TCP/IP port. The connection is a SSL one, using contexts created by the context factory.

Parametersporta port number on which to listen
factorya twisted.internet.protocol.ServerFactory instance
contextFactorya twisted.internet.ssl.ContextFactory instance
backlogsize of the listen queue
interfacethe hostname to bind to, defaults to '' (all)
def connectSSL(self, host, port, factory, contextFactory, timeout=30, bindAddress=None): (source)

Connect a client Protocol to a remote SSL socket.

Parametershosta host name
porta port number
factorya twisted.internet.protocol.ClientFactory instance
contextFactorya twisted.internet.ssl.ClientContextFactory object.
timeoutnumber of seconds to wait before assuming the connection has failed.
bindAddressa (host, port) tuple of local address to bind to, or None.
ReturnsAn object which provides IConnector.
def connectUNIX(self, address, factory, timeout=30): (source)

Connect a client protocol to a UNIX socket.

Parametersaddressa path to a unix socket on the filesystem.
factorya twisted.internet.protocol.ClientFactory instance
timeoutnumber of seconds to wait before assuming the connection has failed.
checkPIDif True, check for a pid file to verify that a server is listening. If address is a Linux abstract namespace path, this must be False.
ReturnsAn object which provides IConnector.
def listenUNIX(self, address, factory, backlog=50, mode=438): (source)

Listen on a UNIX socket.

Parametersaddressa path to a unix socket on the filesystem.
factorya twisted.internet.protocol.Factory instance.
backlognumber of connections to allow in backlog.
modeThe mode (not umask) to set on the unix socket. See platform specific documentation for information about how this might affect connection attempts. (type: int)
wantPIDif True, create a pidfile for the socket. If address is a Linux abstract namespace path, this must be False.
ReturnsAn object which provides IListeningPort.
def on_disconnect_clicked(self, w): (source)
Undocumented
def on_viewlog_clicked(self, w): (source)
Undocumented
def on_inspect_clicked(self, w): (source)
Undocumented
def on_suspend_clicked(self, w): (source)
Undocumented
def toggle_suspend(self, suspending=0): (source)
Undocumented
def servers_selection_changed(self, w): (source)
Undocumented
def on_quit_clicked(self, w): (source)
Undocumented
def __init__(self): (source)
def addReader(self, reader): (source)
def _goAway(self, reader): (source)
Undocumented
def _maybeAddServer(self, reader, read=0, write=0): (source)
Undocumented
def addWriter(self, writer): (source)
def removeReader(self, reader): (source)
def removeWriter(self, writer): (source)
def run(self, installSignalHandlers=1): (source)
API Documentation for Twisted, generated by pydoctor at 2015-09-04 15:29:41.