<commit_before>/*
 * $Log$
 * Revision 1.4  1998/10/04 18:01:08  rimassa
 * Added a 'Log:' field to every source file.
 *
 */

package jade.core;

import java.rmi.Remote;
import java.rmi.RemoteException;

import jade.lang.acl.ACLMessage;

/***********************************************************************

  Name: MessageDispatcher

  Responsibilities and Collaborations:

  + Receives incoming messages from other containers or from the
    platform registry.
    (ACLMessage, AgentPlatform)

  + Maintains a collection of local agents, indexed by agent names.
    (Agent)

  + Builds a suitable ACL message from the received string.
    (ACLMessage, ACLParser)

  + Notifies receiver agent, enqueueing the incoming message.
    (ACLMessage, Agent)

************************************************************************/
interface MessageDispatcher extends Remote {

  public void dispatch(ACLMessage msg) throws RemoteException, NotFoundException;

}
<commit_msg>Added ping() and getContainer() methods to support agent platform error recovery.<commit_after>/*
 * $Log$
 * Revision 1.5  1998/10/11 19:35:12  rimassa
 * Added ping() and getContainer() methods to support agent platform
 * error recovery.
 *
 * Revision 1.4  1998/10/04 18:01:08  rimassa
 * Added a 'Log:' field to every source file.
 *
 */

package jade.core;

import java.rmi.Remote;
import java.rmi.RemoteException;

import jade.lang.acl.ACLMessage;

/***********************************************************************

  Name: MessageDispatcher

  Responsibilities and Collaborations:

  + Receives incoming messages from other containers or from the
    platform registry.
    (ACLMessage, AgentPlatform)

  + Maintains a collection of local agents, indexed by agent names.
    (Agent)

  + Builds a suitable ACL message from the received string.
    (ACLMessage, ACLParser)

  + Notifies receiver agent, enqueueing the incoming message.
    (ACLMessage, Agent)

************************************************************************/
interface MessageDispatcher extends Remote {

  void dispatch(ACLMessage msg) throws RemoteException, NotFoundException;
  void ping() throws RemoteException;
  AgentContainer getContainer() throws RemoteException;

}

{'fraction_non_alphanumeric': 0.19669937555753791, 'fraction_numerical': 0.021409455842997322, 'mean_word_length': 4.707379134860051, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3294997', 'n_tokens_mistral': 650, 'n_tokens_neox': 570, 'n_words': 199}