| Home | Trees | Index | Help |
|---|
| Package twisted :: Package internet :: Module unix :: Class Port |
|
Logger --+
|
Ephemeral --+
|
FileDescriptor --+
|
BasePort --+
|
Port --+
|
Port
| Method Summary | |
|---|---|
__init__(self,
fileName,
factory,
backlog,
mode,
reactor)
| |
__getstate__(self)
(inherited from Ephemeral)
| |
__repr__(self)
| |
__setstate__(self,
state)
(inherited from Ephemeral)
| |
Cleans up my socket. | |
createInternetSocket(self)
(inherited from Port)
| |
Called when my socket is ready for reading. (inherited from Port)
| |
File Descriptor number for select(). (inherited from FileDescriptor)
| |
Returns a tuple of ('UNIX', fileName) | |
Returns the name of my class, to prefix log entries with. (inherited from Port)
| |
Stop accepting connections on this port. (inherited from Port)
| |
pauseProducing(self)
(inherited from FileDescriptor)
| |
Register to receive data from a producer. (inherited from FileDescriptor)
| |
resumeProducing(self)
(inherited from FileDescriptor)
| |
Create and bind my socket, and begin listening on it. | |
Start waiting for read availability. (inherited from FileDescriptor)
| |
Start waiting for write availability. (inherited from FileDescriptor)
| |
Stop consuming data. (inherited from FileDescriptor)
| |
Stop accepting connections on this port. (inherited from Port)
| |
stopProducing(self)
(inherited from FileDescriptor)
| |
Stop waiting for read availability. (inherited from FileDescriptor)
| |
Stop waiting for write availability. (inherited from FileDescriptor)
| |
Stop consuming data from a producer, without disconnecting. (inherited from FileDescriptor)
| |
Reliably write some data. (inherited from FileDescriptor)
| |
writeSequence(self,
iovec)
(inherited from FileDescriptor)
| |
Write as much as possible of the given data, immediately. (inherited from FileDescriptor)
| |
| Class Variable Summary | |
|---|---|
int |
addressFamily
|
class |
Server
|
int |
socketType
|
| Method Details |
|---|
connectionLost(self, reason)Cleans up my socket.
|
getHost(self)Returns a tuple of ('UNIX', fileName) This indicates the server's address. |
startListening(self)Create and bind my socket, and begin listening on it. This is called on unserialization, and must be called after creating a server to begin listening on the specified port. |
| Class Variable Details |
|---|
addressFamily
|
ServerServer = twisted.internet.unix.Server
|
socketType
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 1.1 on Fri Jun 27 03:45:33 2003 | http://epydoc.sf.net |