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, serialize
changed, copyJID, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, getSerializedBytes, isJidEqual, isSerialized, readable, resolvePathname, save, setContainerJid
acceptEvent, acceptRequest, getActorType, getAncestor, getExceptionHandler, getFactory, getMailbox, getMailboxFactory, getMatch, getParent, hasDataItem, haveEvents, initialize, initialize, initialize, initialize, initialize, requirements, responseFrom, send, send, sendEvent, setExceptionHandler, setInitialBufferCapacity
protected PrintJid out
public void configure(String operatorName, String id, String commandLine) throws Exception
Exception
protected Commands commands()
protected abstract void process(org.agilewiki.jactor.RP<PrintJid> rp) throws Exception
Exception
public void start(org.agilewiki.jactor.RP rp) throws Exception
public void userInterrupt() throws Exception
userInterrupt
in class AgentJid
Exception
public void consolePrintln(String value, org.agilewiki.jactor.RP<String> rp) throws Exception
Exception
public void consoleReadLine(String prompt, org.agilewiki.jactor.RP<String> rp) throws Exception
Exception
Copyright © 2013. All Rights Reserved.