asynchat
index
/usr/lib/python1.5/asynchat.py
 

# -*- Mode: Python; tab-width: 4 -*-
#       $Id: asynchat.py,v 1.1 1999/01/12 20:19:24 guido Exp $
#       Author: Sam Rushing <rushing@nightmare.com>

   
Modules
                        
asyncore
regex
socket
string

   
Classes
                        
asyncore.dispatcher
async_chat
fifo
simple_producer

   
class async_chat(asyncore.dispatcher)
            This is an abstract class.  You must derive from this class, and add
the two methods collect_incoming_data() and found_terminator()
              
__init__(self, conn=None)
close_when_done(self)
discard_buffers(self)
get_terminator(self)
handle_close(self)
handle_read(self)
handle_write(self)
initiate_send(self)
push(self, data)
push_mode(self, boolean)
push_with_producer(self, producer)
readable(self)
refill_buffer(self)
set_terminator(self, term)
Set the input delimiter.  Can be a fixed string of any length, or None
writable(self)
writable_push(self)

   
class fifo
              
__init__(self, list=None)
__len__(self)
first(self)
pop(self)
push(self, data)

   
class simple_producer
              
__init__(self, data, buffer_size=512)
more(self)