java.lang.Runnablepublic class FAtiMAListenerThread extends SocketListener
| Modifier and Type | Class | Description |
|---|---|---|
class |
FAtiMAListenerThread.LookAtThread |
maxSize, socket, stopped| Constructor | Description |
|---|---|
FAtiMAListenerThread(java.net.Socket socket,
FAtiMAConnector connector) |
create a new FAtiMAListenerThread
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getAgentName() |
returns the name of the FAtiMA agent that is connected to this thread
|
java.lang.String |
getDisplayName() |
returns the display name of the FAtiMA agent that is connected to this thread
|
java.lang.String |
getRole() |
returns the role (personality profile) of the FAtiMA agent that is connected to this thread
|
protected void |
processMessage(java.lang.String msg) |
this method processes messages that FAtiMA has sent
|
boolean |
send(java.lang.String msg) |
|
void |
sendLookAtPerception(java.lang.String target) |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclose, initialize, runactiveCount, 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, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic FAtiMAListenerThread(java.net.Socket socket,
FAtiMAConnector connector)
public boolean send(java.lang.String msg)
send in class SocketListenerprotected void processMessage(java.lang.String msg)
processMessage in class SocketListenerpublic void sendLookAtPerception(java.lang.String target)
public java.lang.String getAgentName()
public java.lang.String getDisplayName()
public java.lang.String getRole()