ics.TripleApl.AMS Class Reference

Inheritance diagram for ics.TripleApl.AMS:

ics.TripleApl.Agent aplp.AgentTreeItem aplp.AgentTreeItem List of all members.

Public Member Functions

 AMS (ServiceRoot s)
void getMain (MainFrame m)
void openProject (File f)
void saveProject (File f)
void closeProject ()
void javaAgentInit () throws Exception
AgentNamingService acquireAgentNamingService () throws Exception
AgentDirectoryService acquireAgentDirectoryService () throws Exception
MessageTransportService acquireMessageTransportService () throws Exception
AgentName acquireAgentName () throws Exception
Locator bindToMessageTransportService () throws Exception
AgentDescription getAgentDescription ()
int getStatus ()
String getItemName ()
void setFullname (String host)
String getFullName ()
String getName ()
void agentSelected (Agent a)
String getAgentName ()
void addAgent (File file)
void isUpdated (Agent a)
void recompile (File file, Agent agent)
void startAll ()
void stepAll ()
void resetAll ()
void removeAll ()
void stopAll ()
Hashtable getPlugins ()
void runSelectedAgent (Agent agent)
void stopSelectedAgent (Agent agent)
void stepSelectedAgent (Agent agent)
void removeSelectedAgent (Agent a)
void receiveMessage (TransportMessage tmsg)
Agent locateAgent (String name)
boolean handleMessage (Agent sender, Message message)
void handleAMSMessage (Vector message)
MessageLog getMessageLog ()
Object getObserver ()
Vector getAgentList ()
DeliberationCycle newDeliberationCycle ()
String getCapabilitiesBaseString ()
String getBeliefBaseString ()
String getGoalBaseString ()
String getPlanBaseString ()
String getPlanningGoalRuleBaseString ()
String getPlanRevisionRuleBaseString ()

Public Attributes

MainFrame main = null
Vector agentList = new Vector()
String fullName = ""

Protected Member Functions

AgentDescription findRemoteAMS (String name) throws Exception
TransportMessage buildTransportMessage (AgentDescription agt, String content)
void sendTransportMessage (TransportMessage msg) throws Exception
void assertTrue (boolean exp, String msg) throws Exception

Protected Attributes

ServiceRoot sr
Locator lctr
AgentNamingService ans
AgentDirectoryService ads
MessageTransportService mts
AgentName name
AgentDescription adesc
Hashtable plugins = new Hashtable()

Package Attributes

MessageLog messages = new MessageLog()
String hostname = ""
ProjectSettings project
int agentcount

Private Member Functions

void addPlugins ()
void searchDirectory (File f, String s) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException
Agent compile (File file, Hashtable inst) throws ParseException
void removeAgent (Agent agent)

Static Private Attributes

static final Class DELIBERATION_CYCLE_CLASS = DefaultDeliberationCycle.class
static int singleton = 0
static final String AMS_SELECTED = "- AMS selected -"

Constructor & Destructor Documentation

ics.TripleApl.AMS.AMS ServiceRoot  s  ) 
 


Member Function Documentation

AgentDirectoryService ics.TripleApl.AMS.acquireAgentDirectoryService  )  throws Exception
 

AgentName ics.TripleApl.AMS.acquireAgentName  )  throws Exception
 

AgentNamingService ics.TripleApl.AMS.acquireAgentNamingService  )  throws Exception
 

MessageTransportService ics.TripleApl.AMS.acquireMessageTransportService  )  throws Exception
 

void ics.TripleApl.AMS.addAgent File  file  ) 
 

void ics.TripleApl.AMS.addPlugins  )  [private]
 

void ics.TripleApl.AMS.agentSelected Agent  a  ) 
 

void ics.TripleApl.AMS.assertTrue boolean  exp,
String  msg
throws Exception [protected]
 

Locator ics.TripleApl.AMS.bindToMessageTransportService  )  throws Exception
 

TransportMessage ics.TripleApl.AMS.buildTransportMessage AgentDescription  agt,
String  content
[protected]
 

void ics.TripleApl.AMS.closeProject  ) 
 

Agent ics.TripleApl.AMS.compile File  file,
Hashtable  inst
throws ParseException [private]
 

AgentDescription ics.TripleApl.AMS.findRemoteAMS String  name  )  throws Exception [protected]
 

AgentDescription ics.TripleApl.AMS.getAgentDescription  ) 
 

Vector ics.TripleApl.AMS.getAgentList  ) 
 

String ics.TripleApl.AMS.getAgentName  ) 
 

Reimplemented from ics.TripleApl.Agent.

String ics.TripleApl.AMS.getBeliefBaseString  ) 
 

Reimplemented from ics.TripleApl.Agent.

String ics.TripleApl.AMS.getCapabilitiesBaseString  ) 
 

Reimplemented from ics.TripleApl.Agent.

String ics.TripleApl.AMS.getFullName  ) 
 

Implements aplp.AgentTreeItem.

String ics.TripleApl.AMS.getGoalBaseString  ) 
 

Reimplemented from ics.TripleApl.Agent.

String ics.TripleApl.AMS.getItemName  ) 
 

Implements aplp.AgentTreeItem.

void ics.TripleApl.AMS.getMain MainFrame  m  ) 
 

MessageLog ics.TripleApl.AMS.getMessageLog  ) 
 

String ics.TripleApl.AMS.getName  ) 
 

Reimplemented from ics.TripleApl.Agent.

Object ics.TripleApl.AMS.getObserver  ) 
 

String ics.TripleApl.AMS.getPlanBaseString  ) 
 

Reimplemented from ics.TripleApl.Agent.

String ics.TripleApl.AMS.getPlanningGoalRuleBaseString  ) 
 

Reimplemented from ics.TripleApl.Agent.

String ics.TripleApl.AMS.getPlanRevisionRuleBaseString  ) 
 

Reimplemented from ics.TripleApl.Agent.

Hashtable ics.TripleApl.AMS.getPlugins  ) 
 

Reimplemented from ics.TripleApl.Agent.

int ics.TripleApl.AMS.getStatus  ) 
 

Implements aplp.AgentTreeItem.

void ics.TripleApl.AMS.handleAMSMessage Vector  message  ) 
 

boolean ics.TripleApl.AMS.handleMessage Agent  sender,
Message  message
 

void ics.TripleApl.AMS.isUpdated Agent  a  ) 
 

void ics.TripleApl.AMS.javaAgentInit  )  throws Exception
 

Agent ics.TripleApl.AMS.locateAgent String  name  ) 
 

DeliberationCycle ics.TripleApl.AMS.newDeliberationCycle  ) 
 

void ics.TripleApl.AMS.openProject File  f  ) 
 

void ics.TripleApl.AMS.receiveMessage TransportMessage  tmsg  ) 
 

void ics.TripleApl.AMS.recompile File  file,
Agent  agent
 

void ics.TripleApl.AMS.removeAgent Agent  agent  )  [private]
 

void ics.TripleApl.AMS.removeAll  ) 
 

void ics.TripleApl.AMS.removeSelectedAgent Agent  a  ) 
 

void ics.TripleApl.AMS.resetAll  ) 
 

void ics.TripleApl.AMS.runSelectedAgent Agent  agent  ) 
 

void ics.TripleApl.AMS.saveProject File  f  ) 
 

void ics.TripleApl.AMS.searchDirectory File  f,
String  s
throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException [private]
 

void ics.TripleApl.AMS.sendTransportMessage TransportMessage  msg  )  throws Exception [protected]
 

void ics.TripleApl.AMS.setFullname String  host  ) 
 

void ics.TripleApl.AMS.startAll  ) 
 

void ics.TripleApl.AMS.stepAll  ) 
 

void ics.TripleApl.AMS.stepSelectedAgent Agent  agent  ) 
 

void ics.TripleApl.AMS.stopAll  ) 
 

void ics.TripleApl.AMS.stopSelectedAgent Agent  agent  ) 
 


Member Data Documentation

AgentDescription ics.TripleApl.AMS.adesc [protected]
 

AgentDirectoryService ics.TripleApl.AMS.ads [protected]
 

int ics.TripleApl.AMS.agentcount [package]
 

Vector ics.TripleApl.AMS.agentList = new Vector()
 

final String ics.TripleApl.AMS.AMS_SELECTED = "- AMS selected -" [static, private]
 

AgentNamingService ics.TripleApl.AMS.ans [protected]
 

final Class ics.TripleApl.AMS.DELIBERATION_CYCLE_CLASS = DefaultDeliberationCycle.class [static, private]
 

String ics.TripleApl.AMS.fullName = ""
 

String ics.TripleApl.AMS.hostname = "" [package]
 

Locator ics.TripleApl.AMS.lctr [protected]
 

MainFrame ics.TripleApl.AMS.main = null
 

MessageLog ics.TripleApl.AMS.messages = new MessageLog() [package]
 

MessageTransportService ics.TripleApl.AMS.mts [protected]
 

AgentName ics.TripleApl.AMS.name [protected]
 

Reimplemented from ics.TripleApl.Agent.

Hashtable ics.TripleApl.AMS.plugins = new Hashtable() [protected]
 

ProjectSettings ics.TripleApl.AMS.project [package]
 

int ics.TripleApl.AMS.singleton = 0 [static, private]
 

ServiceRoot ics.TripleApl.AMS.sr [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Dec 12 15:07:19 2005 for 3APL by  doxygen 1.4.5