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

All Known Implementing Classes:
JadeMessenger, JadexMessenger

public interface Messenger

Project: beast File: es.upm.dit.gsi.beast.platform.Messenger.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 sendMessageToAgents(String[] agent_name, String msgtype, Object message_content, Connector connector)
          Method to send one message to many agents
 void sendMessageToAgentsWithExtraProperties(String[] agent_name, String msgtype, Object message_content, ArrayList<Object> properties, Connector connector)
          Method to send one message with extra properties to many agents
 

Method Detail

sendMessageToAgents

void sendMessageToAgents(String[] agent_name,
                         String msgtype,
                         Object message_content,
                         Connector connector)
Method to send one message to many agents

Parameters:
agent_name - The Array with the Receivers name
msgtype - SFipa.Inform or SFipa.Request
message_content - The content of the message
connector - The connector to the platform

sendMessageToAgentsWithExtraProperties

void sendMessageToAgentsWithExtraProperties(String[] agent_name,
                                            String msgtype,
                                            Object message_content,
                                            ArrayList<Object> properties,
                                            Connector connector)
Method to send one message with extra properties to many agents

Parameters:
agent_name - The Array with the Receivers name
msgtype - SFipa.Inform or SFipa.Request
message_content - The content of the message
properties - The properties to add to the message
connector - The connector to the platform


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