| |
- 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)
- no doc string
- close_when_done(self)
- no doc string
- discard_buffers(self)
- no doc string
- get_terminator(self)
- no doc string
- handle_close(self)
- no doc string
- handle_read(self)
- # grab some more data from the socket,
- # throw it to the collector method,
- # check for the terminator,
- # if found, transition to the next state.
- handle_write(self)
- no doc string
- initiate_send(self)
- no doc string
- push(self, data)
- no doc string
- push_mode(self, boolean)
- # ==================================================
- # support for push mode.
# ==================================================
- push_with_producer(self, producer)
- no doc string
- readable(self)
- no doc string
- refill_buffer(self)
- # refill the outgoing buffer by calling the more() method
- # of the first producer in the queue
- set_terminator(self, term)
- Set the input delimiter. Can be a fixed string of any length, or None
- writable(self)
- no doc string
- writable_push(self)
- no doc string
|
|