|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.upm.dit.gsi.beast.platform.jade.JadeMessenger
public class JadeMessenger
Project: beast File: es.upm.dit.gsi.beast.platform.jade.JadeMessenger.java Grupo de Sistemas Inteligentes Departamento de Ingeniería de Sistemas Telemáticos Universidad Politécnica de Madrid (UPM)
Method Summary | |
---|---|
static JadeMessenger |
getInstance()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JadeMessenger getInstance()
public void sendMessageToAgents(String[] agent_name, String msgtype, Object message_content, Connector connector)
Messenger
sendMessageToAgents
in interface Messenger
agent_name
- The Array with the Receivers namemsgtype
- SFipa.Inform or SFipa.Requestmessage_content
- The content of the messageconnector
- The connector to the platformpublic void sendMessageToAgentsWithExtraProperties(String[] agent_name, String msgtype, Object message_content, ArrayList<Object> properties, Connector connector)
Messenger
sendMessageToAgentsWithExtraProperties
in interface Messenger
agent_name
- The Array with the Receivers namemsgtype
- SFipa.Inform or SFipa.Requestmessage_content
- The content of the messageproperties
- The properties to add to the messageconnector
- The connector to the platform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |