public class RecordPlaybackService extends AbstractXholonService
TODO option to write it out in HTML format so each captured text is in its own textarea.
Modifier and Type | Field and Description |
---|---|
static int |
SIG_RECORD_REQ
A request to record something.
|
static int |
SIG_RECORD_RESP
A response to a request to record something.
|
activated
SIG_ADD_REQUEST, SIG_PROCESS_REQUEST, SIG_RESPONSE, SIG_RESPONSE_ERROR, XHSRV_ABOUT, XHSRV_BERKELEY_DB, XHSRV_BLACKBOARD, XHSRV_BLUEPRINTS, XHSRV_CHART_VIEWER, XHSRV_CSS, XHSRV_DATABASE, XHSRV_DUMMY, XHSRV_EXTERNAL_FORMAT, XHSRV_GAME_ENGINE, XHSRV_GIST, XHSRV_GRAPHICAL_NETWORK_VIEWER, XHSRV_GRAPHICAL_TREE_VIEWER, XHSRV_GRID_VIEWER, XHSRV_HISTOGRAM, XHSRV_JAVA_SERIALIZATION, XHSRV_JAXEN, XHSRV_JCR, XHSRV_JXPATH, XHSRV_LOG, XHSRV_MATHSCIENG, XHSRV_MEDIA, XHSRV_NETLOGO, XHSRV_NODE_SELECTION, XHSRV_NOSQL, XHSRV_PCSPATH, XHSRV_PRE_CONFIGURATION, XHSRV_RECORD_PLAYBACK, XHSRV_REFLECTION, XHSRV_REST, XHSRV_SBML, XHSRV_SCRIPT, XHSRV_SEARCH_ENGINE, XHSRV_SEMANTIC_WEB, XHSRV_SERVICE_LOCATOR, XHSRV_SPRING_FRAMEWORK, XHSRV_SVG_VIEW, XHSRV_TEXT_TREE_VIEWER, XHSRV_TIMELINE, XHSRV_VALIDATION, XHSRV_VFS, XHSRV_VRML, XHSRV_WIRING, XHSRV_XHOLON_CREATION, XHSRV_XHOLON_DIRECTORY, XHSRV_XHOLON_HELPER, XHSRV_XHOLON2XML, XHSRV_XML_DATABASE, XHSRV_XML_READER, XHSRV_XML_VALIDATION, XHSRV_XML_WRITER, XHSRV_XML2XHOLON, XHSRV_XPATH, XHSRV_XQUERY
DEFAULT_SIZE_MSG_Q, DEFAULT_SIZE_SYSTEM_MSG_Q, GETNAME_DEFAULT, GETNAME_LOCALPART_ID, GETNAME_NOROLENAME, GETNAME_ROLENAME_OR_CLASSNAME, GETNAME_ROLENAMESEP_, GETNAME_SIZE_TEMPLATE, NINCLUDE_PSC, NINCLUDE_PSx, NINCLUDE_PxC, NINCLUDE_Pxx, NINCLUDE_xSC, NINCLUDE_xSx, NINCLUDE_xxC, NINCLUDE_xxx, XHOLON_ID_DEFAULT, XHOLON_ID_NULL
Constructor and Description |
---|
RecordPlaybackService() |
Modifier and Type | Method and Description |
---|---|
void |
doAction(java.lang.String action)
Do a specific action that this xholon knows how to do.
|
java.lang.String[] |
getActionList()
Get a list of actions that this xholon can do.
|
IXholon |
getService(java.lang.String serviceName)
Give the service a chance to configure itself before it's returned to a client.
|
boolean |
isShouldPlayback() |
boolean |
isShouldRecord() |
void |
processReceivedMessage(IMessage msg)
Process a received message taken from the message queue.
|
IMessage |
processReceivedSyncMessage(IMessage msg)
Process a received Synchronous message.
|
void |
setShouldPlayback(boolean shouldPlayback) |
void |
setShouldRecord(boolean shouldRecord) |
act, getServiceLocatorService, hasAnnotation, isActivated, postAct, preAct, setActivated, toXmlAttributes
actNr, appendChild, appendChild, appendChild, appendsOwnChildren, bindPorts, cleanup, compareTo, configure, configure, consoleLog, decVal, decVal, depth, equals, findFirstChildWithXhClass, findFirstChildWithXhClass, forwardMessage, forwardSyncMessage, getAllPorts, getAnnotation, getApp, getAttributeNodeXh, getAttributeXh, getChildNodes, getClassNode, getClassNode, getFactory, getFirstChild, getFirstSibling, getId, getInteraction, getInteractionsEnabled, getIQueueImplName, getLastChild, getLastSibling, getLogger, getMsgQ, getName, getName, getNeighbors, getNextSibling, getNthChild, getNthSibling, getNumChildren, getNumLevels, getNumSiblings, getParentNode, getPort, getPort, getPreviousSibling, getRoleName, getRootNode, getSelfAndSiblings, getSelfAndSiblingsIndex, getSiblings, getSystemMsgQ, getUid, getUri, getVal_boolean, getVal_byte, getVal_char, getVal_double, getVal_float, getVal_int, getVal_long, getVal_Object, getVal_short, getVal_String, getVal, getXhc, getXhcId, getXhcName, getXholon2Xml, getXhType, getXml2Xholon, getXPath, handleNodeSelection, handleNodeSelection, hasAncestor, hasAttributeXh, hasChildNodes, hasChildOrSiblingNodes, hasNextSibling, hasParentNode, hasSiblingNodes, height, incVal, incVal, initialize, initStatics, inOrderPrint, insertAfter, insertAfter, insertAfter, insertBefore, insertBefore, insertBefore, insertFirstChild, isActiveObject, isAttributeHandler, isBound, isContainer, isExternal, isInternal, isLeaf, isPassiveObject, isRootNode, isUniqueSibling, isUniqueSiblingRoleName, performActivity, performActivity, performBooleanActivity, performBooleanActivity, performDoubleActivity, performGuard, performVoidActivity, postConfigure, postOrderPrint, postReconfigure, preConfigure, preOrderPrint, preReconfigure, print, println, processMessageQ, processSystemMessageQ, reconfigure, registerMessageForwardee, remove, removeAttributeNodeXh, removeAttributeXh, removeChild, replaceNode, searchForReferencingNodes, searchForReferencingNodesRecurse, sendMessage, sendMessage, sendMessage, sendSyncMessage, sendSyncMessage, sendSyncMessage, sendSystemMessage, sendSystemMessage, setActionList, setAnnotation, setApp, setAttributeNodeXh, setAttributeVal, setAttributeXh, setFirstChild, setId, setName, setNextSibling, setParentChildLinks, setParentNode, setParentSiblingLinks, setPort, setPort, setPorts, setRoleName, setUid, setUri, setVal_boolean, setVal_byte, setVal_char, setVal_double, setVal_float, setVal_int, setVal_long, setVal_Object, setVal_short, setVal_String, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setXhc, showAnnotation, swapNode, terminate, toString, toXml, toXmlAttribute, toXmlText, treeSize, visit
public static final int SIG_RECORD_REQ
public static final int SIG_RECORD_RESP
public IXholon getService(java.lang.String serviceName)
AbstractXholonService
getService
in interface IXholon
getService
in class AbstractXholonService
serviceName
- The name of a service.
This is the name used in XholonService.xml, which is the IXholonClass name.Xholon.getService(java.lang.String)
public void processReceivedMessage(IMessage msg)
IXholon
processReceivedMessage
in interface IXholon
processReceivedMessage
in class Xholon
msg
- The message that was received.public IMessage processReceivedSyncMessage(IMessage msg)
IXholon
processReceivedSyncMessage
in interface IXholon
processReceivedSyncMessage
in class Xholon
msg
- The message that was received.public java.lang.String[] getActionList()
IXholon
getActionList
in interface IXholon
getActionList
in class Xholon
public void doAction(java.lang.String action)
IXholon
public boolean isShouldRecord()
public void setShouldRecord(boolean shouldRecord)
shouldRecord
- the shouldRecord to setpublic boolean isShouldPlayback()
public void setShouldPlayback(boolean shouldPlayback)
shouldPlayback
- the shouldPlayback to set