es.upm.dit.gsi.beast.platform
Interface Connector

All Known Implementing Classes:
JadeConnector, JadexConnector

public interface Connector

Project: beast File: es.upm.dit.gsi.beast.platform.Connector.java Abstract Class that defines method Grupo de Sistemas Inteligentes Departamento de Ingeniería de Sistemas Telemáticos Universidad Politécnica de Madrid (UPM)

Version:
0.1
Author:
jjsolitario, alvarocarrera

Method Summary
 void createAgent(String agent_name, String path)
          To create one agent in the platform
 void createAgent(String agentName, String path, String containerName, Object[] arguments)
          To create one agent in the platform
 Object getAgentID(String agent_name)
          To get the platform's ID of a created agent
 Object getAgentsExternalAccess(String agent_name)
          Method to get the external access of an agent, necessary to see its behaviour
 Logger getLogger()
           
 Object getMessageService()
          Method that allows us sendind messages
 void launchPlatform()
          It starts the execution of the platform
 void stopPlatform()
          It stops the execution of the platform
 

Method Detail

launchPlatform

void launchPlatform()
It starts the execution of the platform


stopPlatform

void stopPlatform()
It stops the execution of the platform


createAgent

void createAgent(String agent_name,
                 String path)
To create one agent in the platform

Parameters:
agent_name - The name of the agent
path - where is the agent

createAgent

void createAgent(String agentName,
                 String path,
                 String containerName,
                 Object[] arguments)
To create one agent in the platform

Parameters:
agentName - The name of the agent
path - where is the agent
containerName - where the agent will be created
arguments - for the agent

getAgentID

Object getAgentID(String agent_name)
To get the platform's ID of a created agent

Parameters:
agent_name - The name of the agent
Returns:
The agent's ID

getMessageService

Object getMessageService()
Method that allows us sendind messages

Returns:
The service to send messages

getAgentsExternalAccess

Object getAgentsExternalAccess(String agent_name)
Method to get the external access of an agent, necessary to see its behaviour

Parameters:
agent_name - The name of the agent
Returns:
The external access of an agent

getLogger

Logger getLogger()
Returns:
Connector Logger


Copyright © 2014 Grupo de Sistemas Inteligentes - Universidad Politécnica de Madrid. All Rights Reserved.