Class FAtiMAListenerThread

java.lang.Object
java.lang.Thread
cmion.util.SocketListener
cmion.level3.fatima.FAtiMAListenerThread
All Implemented Interfaces:
Runnable

public class FAtiMAListenerThread extends SocketListener
In this thread we communicate with the FAtiMA mind through a remote connection
  • Constructor Details

    • FAtiMAListenerThread

      public FAtiMAListenerThread(Socket socket, FAtiMAConnector connector)
      create a new FAtiMAListenerThread
  • Method Details

    • send

      public boolean send(String msg)
      Overrides:
      send in class SocketListener
    • processMessage

      protected void processMessage(String msg)
      this method processes messages that FAtiMA has sent
      Specified by:
      processMessage in class SocketListener
    • sendLookAtPerception

      public void sendLookAtPerception(String target)
    • getAgentName

      public String getAgentName()
      returns the name of the FAtiMA agent that is connected to this thread
    • getDisplayName

      public String getDisplayName()
      returns the display name of the FAtiMA agent that is connected to this thread
    • getRole

      public String getRole()
      returns the role (personality profile) of the FAtiMA agent that is connected to this thread