fipaos.platform.agentcities
Class PingAgent

fipaos.agent.FIPAOSAgent
  |
  +--fipaos.platform.agentcities.PingAgent

public class PingAgent
extends FIPAOSAgent

AgentCities ping-agent implementation


Inner Class Summary
 public classPingAgent.IdleTask
           

Inner classes inherited from class fipaos.agent.FIPAOSAgent
FIPAOSAgent.TopLevelHandlerTask

Fields inherited from class fipaos.agent.FIPAOSAgent
_registered_with, _state

Constructor Summary
PingAgent(String platform_profile, String name, String owner)
          An agent constructor takes three parameters - the location of the platform
profile file (usually fipa-os\profiles\platform.profile), the agent name
(e.g.

Method Summary
 static voidmain(String[] args)
          Main method for launching from a debugger
 synchronized voidshutdown()
           

Methods inherited from class fipaos.agent.FIPAOSAgent
activate, forward, forward, getAID, getCurrentConversation, getHAP, getLocalAMS, getLocalAMSAID, getLocalDF, getLocalDFAID, getNewConversation, getOwnership, getPlatformProfile, getProfile, getState, isShutdown, notify, notify, notifyDone, notifyError, notifyMessageInEndedConversation, notifyMessageUndeliverable, notifyTimeout, sendNotUnderstood, sendNotUnderstood, setMessageSender, waitForPushLock

Constructor Detail

PingAgent

public PingAgent(String platform_profile, String name, String owner)
An agent constructor takes three parameters - the location of the platform
profile file (usually fipa-os\profiles\platform.profile), the agent name
(e.g. df, ams), and the owner of the agent (e.g. Nortel, Bob).
Parameters:
platform_profile - The location of the platform profile
name - The agent name
owner - The owner of this agent
Method Detail

main

public static void main(String[] args)
Main method for launching from a debugger

shutdown

public synchronized void shutdown()