Home | Trees | Index | Help |
---|
Package twisted :: Package internet :: Module udp :: Class ConnectedPort |
|
Logger
--+ |FileDescriptor
--+ |Port
--+ | ConnectedPort
ConnectedMulticastPort
Method Summary | |
---|---|
__init__(self,
reactor,
(remotehost,
remoteport), port,
protocol,
interface,
maxPacketSize)
| |
(internal) get my state for persistence (inherited from Port )
| |
(inherited from Port )
| |
connectionFailed(self,
reason)
| |
Cleans up my socket. (inherited from Port )
| |
(internal) create an AF_INET/SOCK_DGRAM socket. (inherited from Port )
| |
Called when my socket is ready for reading. | |
Raises an AssertionError. (inherited from Port )
| |
File Descriptor number for select(). (inherited from FileDescriptor )
| |
Returns a tuple of ('INET_UDP', hostname, port), indicating the servers address (inherited from Port )
| |
Returns a tuple of ('INET_UDP', hostname, port), indicating the remote address. | |
(inherited from Logger )
| |
Returns the name of my class, to prefix log entries with. (inherited from Port )
| |
Stop accepting connections on this port. (inherited from Port )
| |
(inherited from FileDescriptor )
| |
Register to receive data from a producer. (inherited from FileDescriptor )
| |
(inherited from FileDescriptor )
| |
(inherited from Port )
| |
setRealAddress(self,
addr)
| |
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 )
| |
(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 )
| |
Write a datagram. | |
(inherited from Port )
| |
Write as much as possible of the given data, immediately. (inherited from FileDescriptor )
| |
(inherited from Port )
| |
(inherited from Port )
| |
(inherited from Logger )
| |
Called after a loseConnection(), when all data has been written. (inherited from FileDescriptor )
|
Class Variable Summary | |
---|---|
tuple |
__implements__
|
Method Details |
---|
doRead(self)Called when my socket is ready for reading.
|
getPeer(self)Returns a tuple of ('INET_UDP', hostname, port), indicating the remote 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.
|
write(self, data)Write a datagram.
|
Class Variable Details |
---|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:28:16 2003 | http://epydoc.sf.net |