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, serviceTypejarFile, 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.
|
testEndedcanAccess, canAccessTemp, getPasswordHandler, getPasswordHandler, getServerPassword, getServicePassword, getServiceType, isAdminKey, setServiceDetails, setServiceTypegetJarFile, getUUID, loadObject, setJarFile, setUUID, threadAliveStateactiveCount, 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, yieldequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUUID, setJarFile, setUUIDpublic 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 BehaviourModulemessageInfo - 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.