examples.communication
Interface AgentService

All Known Implementing Classes:
Agent

public interface AgentService

This interface is used as a service from agents of type examples.communication.Agent in order to get information for the implicit names of their "friends" or to get a teminating signal.

Author:
Zaharina Velikova, Jan Peters
See Also:
Agent

Field Summary
static String PUBLISH_KEY_PREFIX
          The key prefix under which this service is going to be published.
 
Method Summary
 void initImplicitNames(ArrayList implicitNames)
          Initialises the implicit name of the agent's "friends"
 void signalTermination()
          Sends a terminating signal to the agent.
 

Field Detail

PUBLISH_KEY_PREFIX

public static final String PUBLISH_KEY_PREFIX
The key prefix under which this service is going to be published.

Method Detail

initImplicitNames

public void initImplicitNames(ArrayList implicitNames)
Initialises the implicit name of the agent's "friends"

Parameters:
implicitNames - DOCUMENT ME!

signalTermination

public void signalTermination()
Sends a terminating signal to the agent.



Copyright © Fraunhofer Gesellschaft. All Rights Reserved.