| Trees | Indices | Help |
|
|---|
|
|
|
|||
|
|||
string
|
|
||
(string, int)
|
|
||
|
|||
|
|||
boolean
|
|
||
|
|||
|
|||
|
|||
|
|||
list of string
|
buffer the list of data waiting to be written on the socket |
||
boolean
|
connected whether this socket has received an event yet |
||
(string, int)
|
dns the IP address and port to use if one can't be obtained from the socket |
||
int
|
fileno the file number of the socket |
||
| unknown |
handler the handler to use for all communications on the socket |
||
float
|
last_hit the last time data was received on the socket |
||
int
|
skipped the number of consecutive writes to the socket that have failed |
||
socket.socket
|
socket the socket to manage |
||
| SocketHandler |
socket_handler the collection of all sockets |
||
|
|||
|
|
|
|
|
Write data out on the socket. Adds the data to the buffer of data waiting to be written, then tries to write the waiting data out.
|
Try to write waiting data on the socket. Will try to write all buffered data on the socket. If a send fails, the attempt will stop. 3 consecutive failed attempts will cause the socket to be declared dead. |
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sun Aug 19 16:26:55 2007 | http://epydoc.sourceforge.net |