Module event :: Class EchoEvent
[show private | hide private]
[frames | no frames]

Class EchoEvent

Event --+
        |
       EchoEvent


Echo events get created when the connected server sends a Telnet Echo request--either to tell us that the server is handling echo (echo off) or that the server will not handle echo (echo on).
Method Summary
  __init__(self, onoff)
Initializes the EchoEvent.
  __str__(self)
This allows us to print out event objects for debugging purposes. (inherited from Event)
  enqueue(self)
This enqueues this event into the event queue. (inherited from Event)
  execute(self)
Runs the echo event through anything listening.

Method Details

__init__(self, onoff)
(Constructor)

Initializes the EchoEvent.
Parameters:
onoff - sets the new echo value. 1 for echo on, 0 for echo off.
           (type=int)

execute(self)

Runs the echo event through anything listening.

Generated by Epydoc 1.1 on Mon Apr 28 21:11:25 2003 http://epydoc.sf.net