|
||||||||||
| 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.JadexMessenger
public class JadexMessenger
Project: beast File: es.upm.dit.gsi.beast.platform.jadex.JadexMessenger.java To send messages to our jadex agents. Grupo de Sistemas Inteligentes Departamento de Ingeniería de Sistemas Telemáticos Universidad Politécnica de Madrid (UPM)
| Method Summary | |
|---|---|
static JadexMessenger |
getInstance()
|
void |
sendMessageToAgents(String[] agent_name,
String msgtype,
Object message_content,
Connector connector)
This method sends the same message to many agents. |
void |
sendMessageToAgentsWithExtraProperties(String[] agent_name,
String msgtype,
Object message_content,
ArrayList<Object> properties,
Connector connector)
This method works as the one above, adding some properties to the message |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static JadexMessenger getInstance()
public void sendMessageToAgents(String[] agent_name,
String msgtype,
Object message_content,
Connector connector)
sendMessageToAgents in interface Messengeragent_name - The id of the agents that receive the messagemsgtype - message_content - The content of the messageconnector - The connector to get the external access
public void sendMessageToAgentsWithExtraProperties(String[] agent_name,
String msgtype,
Object message_content,
ArrayList<Object> properties,
Connector connector)
sendMessageToAgentsWithExtraProperties in interface Messengeragent_name - The id of the agents that receive the messagemsgtype - message_content - The content of the messageproperties - to be added to the messageconnector - The connector to get the external access
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||