public class BM_InfoClientPS extends BehaviourModule
Information
service to the server so that a client can be
informed and sent the result using the PublishSubscribe
system.passwordHandler, service, serviceType
jarFile, syncOn, uuid
Constructor and Description |
---|
BM_InfoClientPS(Auto service,
PasswordHandler passwordHandler)
Create a new instance of BM_InfoClientPS.
|
Modifier and Type | Method and Description |
---|---|
MessageInfo |
behaviourAction(MessageInfo messageInfo,
HeuristicModule evaluate,
SM_Data sm)
Run the behaviour to publish the information to the server.
|
testEnded
canAccess, canAccessTemp, getPasswordHandler, getPasswordHandler, getServerPassword, 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 BM_InfoClientPS(Auto service, PasswordHandler passwordHandler) throws java.lang.Exception
service
- the service the behaviour is for.passwordHandler
- the service's password handler.java.lang.Exception
- any error.public MessageInfo behaviourAction(MessageInfo messageInfo, HeuristicModule evaluate, SM_Data sm) throws java.lang.Exception
behaviourAction
in class BehaviourModule
messageInfo
- the Input message to evaluate.evaluate
- heuristic to evaluate the behaviour with.
Can be null here as simply an info retrieval.sm
- the service module.java.lang.Exception
- any error.