fipaos.platform.agentcities
Class PingAgent

java.lang.Object
  |
  +--fipaos.agent.FIPAOSAgent
        |
        +--fipaos.platform.agentcities.PingAgent
All Implemented Interfaces:
ConversationListener

public class PingAgent
extends FIPAOSAgent

AgentCities ping-agent implementation


Inner Class Summary
 class PingAgent.IdleTask
           
 
Inner classes inherited from class fipaos.agent.FIPAOSAgent
FIPAOSAgent.TopLevelHandlerTask
 
Fields inherited from class fipaos.agent.FIPAOSAgent
_database_profile, _registered_with, _state, _tm
 
Constructor Summary
PingAgent(java.lang.String platform_profile, java.lang.String name, java.lang.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 void main(java.lang.String[] args)
          Main method for launching from a debugger
 void shutdown()
          Shutdown the Agent safely
 
Methods inherited from class fipaos.agent.FIPAOSAgent
activate, addNewProtocol, deregisterWithAMS, deregisterWithDF, forward, forward, getAID, getCM, getCurrentConversation, getHAP, getLocalAMS, getLocalAMSAID, getLocalDF, getLocalDFAID, getNewConversation, getOwnership, getPlatformProfile, getProfile, getState, isShutdown, knowsProtocol, notify, notify, notifyDone, notifyError, notifyMessageInEndedConversation, notifyMessageUndeliverable, notifyTimeout, registeredWith, registeredWithAMS, registeredWithDF, registerWithAMS, registerWithAMS, registerWithAMS, registerWithAMS, registerWithDF, registerWithDF, registerWithDF, registerWithDF, sendNotUnderstood, sendNotUnderstood, setListenerTask, setMessageSender, startPushing, waitForPushLock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PingAgent

public PingAgent(java.lang.String platform_profile,
                 java.lang.String name,
                 java.lang.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

shutdown

public void shutdown()
Description copied from class: FIPAOSAgent
Shutdown the Agent safely
Overrides:
shutdown in class FIPAOSAgent

main

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