This class defines a tiny python command line reactor, which can be useful for controlling a server.
def __execLine(self, line):
Executes a single line, handles execptions and displays the prompt again when
done.
This method watches a queue for input lines, handling their exceptions and
printing the prompt when done executing.
Displays a nice "dopy>" prompt indicating that the user can enter data.
implements
dopy.dopy.Reactor.fileno()
implements
dopy.dopy.Reactor.handleWrite()
implements
dopy.dopy.Reactor.handleRead()
implements
dopy.dopy.Reactor.handleWrite()
implements
dopy.dopy.Reactor.notifyOnError()
implements
dopy.dopy.Reactor.notifyWhenReadable()
implements
dopy.dopy.Reactor.notifyWhenWritable()
__execThread(self)
def __execThread(self):
__init__(self)
def __init__(self):
doPrompt(self)
def doPrompt(self):
fileno(self)
def fileno(self):
handleError(self)
def handleError(self):
handleRead(self)
def handleRead(self):
handleWrite(self)
def handleWrite(self):
notifyOnError(self)
def notifyOnError(self):
notifyWhenReadable(self)
def notifyWhenReadable(self):
notifyWhenWritable(self)
def notifyWhenWritable(self):