|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectes.upm.dit.gsi.beast.platform.jadex.JadexConnector
public class JadexConnector
Project: beast File: es.upm.dit.gsi.beast.platform.jadex.JadexConnector.java To create our jadex Platform and create its agents, allowing the communication among them Grupo de Sistemas Inteligentes Departamento de Ingeniería de Sistemas Telemáticos Universidad Politécnica de Madrid (UPM)
| Constructor Summary | |
|---|---|
JadexConnector(Logger logger)
|
|
| Method Summary | |
|---|---|
void |
createAgent(String agent_name,
String path)
Creates a real agent in the platform |
void |
createAgent(String agentName,
String path,
String containerName,
Object[] arguments)
To create one agent in the platform |
jadex.bridge.IComponentIdentifier |
getAgentID(String agent_name)
This method searches in createdAgents so given an agent name returns its IComponentIdentifier |
jadex.bridge.IExternalAccess |
getAgentsExternalAccess(String agent_name)
This method searches in the Component Management Service, so given an agent name returns its IExternalAccess |
jadex.bridge.IComponentManagementService |
getCmsService()
This method gets the CMS for creating agents into the platform. |
Logger |
getLogger()
|
jadex.bridge.IMessageService |
getMessageService()
This method gets the service for sending messages to the platform. |
jadex.bridge.IExternalAccess |
getPlatform()
This method gets the external access of the platform. |
void |
launchPlatform()
Platform is launched and the external access of the message service and the component management service (CMS) are saved |
void |
stopPlatform()
It stops the execution of the platform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JadexConnector(Logger logger)
| Method Detail |
|---|
public void launchPlatform()
launchPlatform in interface Connectorpublic void stopPlatform()
Connector
stopPlatform in interface Connectorpublic jadex.bridge.IExternalAccess getPlatform()
public jadex.bridge.IComponentManagementService getCmsService()
public jadex.bridge.IMessageService getMessageService()
getMessageService in interface Connector
public void createAgent(String agent_name,
String path)
createAgent in interface Connectoragent_name - The name that the agent is gonna have in the platformpath - The path of the description (xml) of the agentpublic jadex.bridge.IComponentIdentifier getAgentID(String agent_name)
getAgentID in interface Connectoragent_name - The name of the agent in the platform
public jadex.bridge.IExternalAccess getAgentsExternalAccess(String agent_name)
getAgentsExternalAccess in interface Connectoragent_name - The name of the agent in the platform
public void createAgent(String agentName,
String path,
String containerName,
Object[] arguments)
Connector
createAgent in interface ConnectoragentName - The name of the agentpath - where is the agentcontainerName - where the agent will be createdarguments - for the agentpublic Logger getLogger()
getLogger in interface Connector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||