Home | Trees | Index | Help |
|
---|
Package twisted :: Package application :: Module compat :: Class IOldApplication |
|
Interface
--+
|
IOldApplication
A subset of the interface old Application objects had implicitly
This interface defines a subset of the interface old Application objects had, so that new objects can support it for compatibility with old codeMethod Summary | |
---|---|
Add a service to this collection. | |
Add a service that connects a client Protocol to a remote SSL socket. | |
Add a service that connects a TCP client. | |
Add a service that connects a ConnectedDatagramProtocol
to a port. | |
Add a service that connects a client protocol to a UNIX socket. | |
Add a service that starts an instance of connectorType
connecting. | |
Retrieve the named service from this application. | |
Add a service that connects a given protocol factory to the port. | |
Add a service that connects a given protocol factory to the port. | |
Add a service that connects a given DatagramProtocol to the port. | |
Add a service that listens on a UNIX socket. | |
Add a service that starts an instance of portType
listening. | |
Remove a service from this collection. | |
Maybe remove a listener | |
Maybe remove a listener | |
Maybe remove a listener | |
Maybe remove a listener | |
Maybe remove a listener |
Method Details |
---|
addService(self, service)Add a service to this collection. |
connectSSL(self, host, port, factory, ctxFactory, timeout=30, bindAddress=None)Add a service that connects a client Protocol to a remote SSL socket.
|
connectTCP(self, host, port, factory, timeout=30, bindAddress=None)Add a service that connects a TCP client.
|
connectUDP(self, remotehost, remoteport, protocol, localport=0, interface='', maxPacketSize=8192)Add a service that connects aConnectedDatagramProtocol
to a port.
|
connectUNIX(self, address, factory, timeout=30)Add a service that connects a client protocol to a UNIX socket.
|
connectWith(self, connectorType, *args, **kw)Add a service that starts an instance ofconnectorType
connecting.
|
getServiceNamed(self, name)Retrieve the named service from this application. Raise a KeyError if there is no such service name. |
listenSSL(self, port, factory, ctxFactory, backlog=5, interface='')Add a service that connects a given protocol factory to the port. The connection is a SSL one, using contexts created by the context factory.
|
listenTCP(self, port, factory, backlog=5, interface='')Add a service that connects a given protocol factory to the port.
|
listenUDP(self, port, proto, interface='', maxPacketSize=8192)Add a service that connects a given DatagramProtocol to the port. |
listenUNIX(self, filename, factory, backlog=5, mode=438)Add a service that listens on a UNIX socket.
|
listenWith(self, portType, *args, **kw)Add a service that starts an instance ofportType
listening.
|
removeService(self, service)Remove a service from this collection. |
unlistenSSL(self, port, interface='')Maybe remove a listener This function is inherently unreliable, and may or may not remove a service. |
unlistenTCP(self, port, interface='')Maybe remove a listener This function is inherently unreliable, and may or may not remove a service. |
unlistenUDP(self, port, interface='')Maybe remove a listener This function is inherently unreliable, and may or may not remove a service. |
unlistenUNIX(self, filename)Maybe remove a listener This function is inherently unreliable, and may or may not remove a service. |
unlistenWith(self, portType, *args, **kw)Maybe remove a listener This function is inherently unreliable, and may or may not remove a service. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:21 2004 | http://epydoc.sf.net |