|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fhg.igd.jhsm.AbstractComponent de.fhg.igd.jhsm.HSMState de.fhg.igd.jhsm.HSM examples.wslauncher5.AgentBehaviour
An HSM Agent. Looks for the list of other servers and jumps to the first one on the list. There it calls the IhkWebservice. Then it returns home.
HSM: ---- initial --> homeaddr --> destaddr --> nextaddr ....> webservice -+ | | | | finish <.....gohome <--------+-----------------------------------+This agent must be granted the following rights:
Nested Class Summary | |
private class |
AgentBehaviour.CallWebserviceAction
This action calls the Webservice |
private class |
AgentBehaviour.PrepareNextAction
|
private class |
AgentBehaviour.ResponseAction
This action invokes the method 'response' of the WebserviceLauncher. |
Field Summary | |
static String |
CTX_ACTUAL
|
private static String |
CTX_ANSW
|
protected static String |
CTX_CONF
|
private static String |
CTX_DESTINATIONS
|
protected static String |
CTX_DOCID
|
private static String |
CTX_HOME
Keys for the context of the state machine. |
private static String |
CTX_RESULT
|
protected static String |
CTX_XML
Keys for handle the roundtrip webservice action. |
private static String |
PROTOCOL
Prefered migration protocol. |
static String |
WS_PERFORM_CONCURRENT
Keyword for parallel ws-delegation. |
static String |
WS_PERFORM_ROUNDTRIP
Keyword for serial ws-delegation. |
static String |
XML_CALLBACK
Keyword for callback function. |
static String |
XML_DELEGATE
Tags for XML-Document-Config parsing. |
static String |
XML_FLOW
XML path to flow entry. |
static String |
XML_HOST
|
static String |
XML_METHOD
|
static String |
XML_PARAM
|
static String |
XML_URL
|
Fields inherited from class de.fhg.igd.jhsm.HSM |
|
Fields inherited from class de.fhg.igd.jhsm.HSMState |
|
Fields inherited from class de.fhg.igd.jhsm.AbstractComponent |
|
Constructor Summary | |
AgentBehaviour()
Constructs the state machine for this agent behaviour. |
Methods inherited from class de.fhg.igd.jhsm.HSM |
action, addState, contains, entry, exit, getInitialState, getStates, removeState, setInitialState |
Methods inherited from class de.fhg.igd.jhsm.HSMState |
action, addDeferred, addTransition, defers, getDeferred, getTransitions, removeDeferred, removeTransition, setEntry, setExit |
Methods inherited from class de.fhg.igd.jhsm.AbstractComponent |
getAction, getName, getParent, setAction, setName, setParent, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.fhg.igd.jhsm.State |
addDeferred, addTransition, defers, getDeferred, getTransitions, removeDeferred, removeTransition, setEntry, setExit |
Methods inherited from interface de.fhg.igd.jhsm.Component |
action, getAction, getName, getParent, setAction, setName, setParent |
Field Detail |
private static final String CTX_HOME
private static final String CTX_DESTINATIONS
private static final String CTX_ANSW
protected static final String CTX_XML
protected static final String CTX_CONF
protected static final String CTX_DOCID
private static final String CTX_RESULT
public static final String XML_DELEGATE
public static final String XML_HOST
public static final String XML_URL
public static final String XML_METHOD
public static final String XML_PARAM
public static final String XML_FLOW
public static final String XML_CALLBACK
public static String WS_PERFORM_ROUNDTRIP
public static String WS_PERFORM_CONCURRENT
public static final String CTX_ACTUAL
private static final String PROTOCOL
Constructor Detail |
public AgentBehaviour()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |