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

Class MudEvent

Event --+
        |
       MudEvent


A mud event is when the connected mud sends data to us. We spam that data to the mud event hook.
Method Summary
  __init__(self, session, input)
Initializes the MudEvent.
  __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)
Execute.

Method Details

__init__(self, session, input)
(Constructor)

Initializes the MudEvent.
Parameters:
session - the session handling this mud connection
           (type=session.Session instance)
input - the data sent from the mud that we need to handle
           (type=string)

execute(self)

Execute.

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