Package FAtiMA.Core.sensorEffector
Class WorldSimulatorRemoteAgent
java.lang.Object
java.lang.Thread
FAtiMA.Core.util.parsers.SocketListener
FAtiMA.Core.sensorEffector.RemoteAgent
FAtiMA.Core.sensorEffector.WorldSimulatorRemoteAgent
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class FAtiMA.Core.sensorEffector.RemoteAgent
_actions, _agent, _canAct, _currentAction, _lookAtList, _processActionStrategy, _running, _userName, ACTION_FAILED, ACTION_FINISHED, ACTION_STARTED, ADVANCE_TIME, AGENTS, CANCEL_ACTION, CMD, ENTITY_ADDED, ENTITY_REMOVED, GET_STATE, IDENTIFY_USER, LOOK_AT, PROPERTY_CHANGED, PROPERTY_REMOVED, RESUME_TIME, SET_STATE, SHUTDOWN, STOP_TIME, USER_SPEECHFields inherited from class FAtiMA.Core.util.parsers.SocketListener
maxSize, socket, stoppedFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidActionFailedPerception(String perc) protected voidprotected voidgetInitializationMessage(Map<String, String> arguments) voidprotected voidprotected voidvoidReportInternalPropertyChange(String agentName, Name property, Object value) protected booleanprotected voidprotected voidUserSpeechPerception(String perc) Methods inherited from class FAtiMA.Core.sensorEffector.RemoteAgent
AddAction, AdvanceTimePerception, AgentsPerception, cancelAction, Clear, CmdPerception, EntityAddedPerception, EntityRemovedPerception, ExecuteNextAction, ExpressEmotion, FinishedExecuting, IdentifyUserPerception, isRunning, isShutDown, LoadState, LookAtPerception, processMessage, ReportInternalState, ResumeTimePerception, SaveState, Send, SendEmotionalState, setProcessActionStrategy, ShutDown, ShutDownPerception, StartAction, StopTimePerception, waitForServerAckMethods inherited from class FAtiMA.Core.util.parsers.SocketListener
close, initializeSocket, isStopped, runMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
WorldSimulatorRemoteAgent
public WorldSimulatorRemoteAgent(String host, int port, AgentCore agent, Map<String, String> properties) throws IOException- Throws:
IOException
-
-
Method Details
-
getInitializationMessage
- Specified by:
getInitializationMessagein classRemoteAgent
-
SendAction
- Specified by:
SendActionin classRemoteAgent
-
sendCancelActionMsg
- Specified by:
sendCancelActionMsgin classRemoteAgent
-
ReportInternalPropertyChange
- Specified by:
ReportInternalPropertyChangein classRemoteAgent
-
PropertyChangedPerception
- Specified by:
PropertyChangedPerceptionin classRemoteAgent
-
PropertyRemovedPerception
- Specified by:
PropertyRemovedPerceptionin classRemoteAgent
-
UserSpeechPerception
- Specified by:
UserSpeechPerceptionin classRemoteAgent
-
ActionStartedPerception
- Specified by:
ActionStartedPerceptionin classRemoteAgent
-
ActionFinishedPerception
- Specified by:
ActionFinishedPerceptionin classRemoteAgent
-
ActionFailedPerception
- Specified by:
ActionFailedPerceptionin classRemoteAgent
-
handleSocketException
public void handleSocketException()- Specified by:
handleSocketExceptionin classSocketListener
-