public class SM_LinkData extends SM_Script
CM_LinkData
class.cm, commID
passwordHandler, service, serviceType
jarFile, syncOn, uuid
Constructor and Description |
---|
SM_LinkData(Service service,
PasswordHandler pHandler)
Creates a new instance of LinkDataModule.
|
Modifier and Type | Method and Description |
---|---|
org.licas_xml.abs.Element |
createProcessScript()
Create the policy description that can be used as a default script for initialising the
auto engine of this service.
|
MessageInfo |
evaluateBehaviour(MessageInfo messageInfo)
EvaluateBase a behaviour
messageInfo using the evaluate service and invoke
a resulting action, by calling behaviourAction . |
evaluateBehaviour, getAutoEngine, invokeBehaviour, setAutonomicManager
dataFromService, dataToService, getAllData, getDataQueue, getDataRandomID, getServiceIDs, resetValues, setAllData
getCommID, getServerPassword, setCommID, setControlModule, setDataModule
canAccess, canAccessTemp, getPasswordHandler, getPasswordHandler, getServicePassword, getServiceType, isAdminKey, setServiceDetails, setServiceType
getJarFile, getUUID, loadObject, setJarFile, setUUID, threadAliveState
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUUID, setJarFile, setUUID
public SM_LinkData(Service service, PasswordHandler pHandler) throws java.lang.Exception
service
- the parent service.pHandler
- the parent password handler.java.lang.Exception
- any error.public MessageInfo evaluateBehaviour(MessageInfo messageInfo) throws ServiceException, java.lang.Exception
messageInfo
using the evaluate
service and invoke
a resulting action, by calling behaviourAction
.evaluateBehaviour
in class SM_Auto
messageInfo
- the message with data to process. It is not used in
this implementation, where the data values are retrieved by requests to
each service instead.ServiceException
- probably for password or service not found.java.lang.Exception
- and error.public org.licas_xml.abs.Element createProcessScript() throws java.lang.Exception
createProcessScript
in class SM_Script
java.lang.Exception
- any error.