public abstract class CommandAgent extends AgentJid
| Constructor and Description |
|---|
CommandAgent() |
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<String> |
commandIterator() |
protected Commands |
commands() |
void |
configure(String operatorName,
String id,
String commandLine) |
void |
consolePrintln(String value,
org.agilewiki.jactor.RP<String> rp) |
void |
consoleReadLine(String prompt,
org.agilewiki.jactor.RP<String> rp) |
void |
consoleReadPassword(String prompt,
org.agilewiki.jactor.RP<String> rp) |
protected Command |
getCommand(String name) |
protected String |
getId() |
protected String |
getOperatorName() |
protected void |
println(String v) |
protected abstract void |
process(org.agilewiki.jactor.RP<PrintJid> rp) |
void |
setId(String id) |
void |
setOperatorName(String operatorName) |
void |
start(org.agilewiki.jactor.RP rp) |
void |
userInterrupt() |
_start, _userInterrupt, agentChannel, agentChannelManager, async, getRequestId, isLocal, isLocalAddress, node, remoteAddress, setRequestId_iGet, _iSetBytes, _resolvePathname, _size, change, getSerializedLength, getTupleFactories, load, serializechanged, copyJID, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, getSerializedBytes, isJidEqual, isSerialized, readable, resolvePathname, save, setContainerJidacceptEvent, acceptRequest, getActorType, getAncestor, getExceptionHandler, getFactory, getMailbox, getMailboxFactory, getMatch, getParent, hasDataItem, haveEvents, initialize, initialize, initialize, initialize, initialize, requirements, responseFrom, send, send, sendEvent, setExceptionHandler, setInitialBufferCapacityprotected PrintJid out
public void configure(String operatorName, String id, String commandLine) throws Exception
Exceptionprotected Commands commands()
protected abstract void process(org.agilewiki.jactor.RP<PrintJid> rp) throws Exception
Exceptionpublic void start(org.agilewiki.jactor.RP rp)
throws Exception
public void userInterrupt()
throws Exception
userInterrupt in class AgentJidExceptionpublic void consolePrintln(String value, org.agilewiki.jactor.RP<String> rp) throws Exception
Exceptionpublic void consoleReadLine(String prompt, org.agilewiki.jactor.RP<String> rp) throws Exception
ExceptionCopyright © 2013. All Rights Reserved.