public class LineReader extends org.agilewiki.jactor.lpc.JLPCActor implements Shell, Interruptable
Constructor and Description |
---|
LineReader() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
echo(int b) |
boolean |
hasInput() |
void |
interrupt() |
void |
line(String line) |
void |
readLine(org.agilewiki.jactor.RP<String> rp) |
void |
readPassword(org.agilewiki.jactor.RP<String> rp) |
void |
start(InputStream in,
OutputStream out,
Interpreter interpreter) |
acceptEvent, acceptRequest, getActorType, getAncestor, getExceptionHandler, getFactory, getMailbox, getMailboxFactory, getMatch, getParent, hasDataItem, haveEvents, initialize, initialize, initialize, initialize, initialize, requirements, responseFrom, send, send, sendEvent, setExceptionHandler, setInitialBufferCapacity
public void start(InputStream in, OutputStream out, Interpreter interpreter) throws Exception
Exception
public void readLine(org.agilewiki.jactor.RP<String> rp) throws Exception
Exception
public void readPassword(org.agilewiki.jactor.RP<String> rp) throws Exception
Exception
public void echo(int b) throws IOException
IOException
public void close()
close
in interface org.agilewiki.jactor.Closable
public void interrupt() throws Exception
interrupt
in interface Interruptable
Exception
Copyright © 2013. All Rights Reserved.