jade.jademx.agent
Class JademxPingAgent.PingResponder

java.lang.Object
  extended by jade.core.behaviours.Behaviour
      extended by jade.core.behaviours.SimpleBehaviour
          extended by jade.proto.SimpleAchieveREResponder
              extended by jade.jademx.agent.JademxPingAgent.PingResponder
All Implemented Interfaces:
jade.domain.FIPANames.InteractionProtocol, java.io.Serializable
Enclosing class:
JademxPingAgent

private class JademxPingAgent.PingResponder
extends jade.proto.SimpleAchieveREResponder

behaviour to respond to a ping


Nested Class Summary
 
Nested classes/interfaces inherited from class jade.core.behaviours.Behaviour
jade.core.behaviours.Behaviour.RunnableChangedEvent
 
Field Summary
(package private)  jade.content.ContentManager contentManager
          my content manager
private  JademxPingAgent pingAgent
          my typed agent
 
Fields inherited from class jade.proto.SimpleAchieveREResponder
REQUEST_KEY, RESPONSE_KEY, RESULT_NOTIFICATION_KEY
 
Fields inherited from class jade.core.behaviours.Behaviour
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING
 
Fields inherited from interface jade.domain.FIPANames.InteractionProtocol
FIPA_BROKERING, FIPA_CONTRACT_NET, FIPA_DUTCH_AUCTION, FIPA_ENGLISH_AUCTION, FIPA_ITERATED_CONTRACT_NET, FIPA_PROPOSE, FIPA_QUERY, FIPA_RECRUITING, FIPA_REQUEST, FIPA_REQUEST_WHEN, FIPA_SUBSCRIBE
 
Constructor Summary
JademxPingAgent.PingResponder(JademxPingAgent a, jade.lang.acl.MessageTemplate mt)
           
 
Method Summary
protected  jade.lang.acl.ACLMessage prepareResponse(jade.lang.acl.ACLMessage request)
           
 
Methods inherited from class jade.proto.SimpleAchieveREResponder
action, createMessageTemplate, done, prepareResultNotification, reset, reset
 
Methods inherited from class jade.core.behaviours.Behaviour
actionWrapper, block, block, getBehaviourName, getDataStore, getExecutionState, getParent, handle, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contentManager

jade.content.ContentManager contentManager
my content manager


pingAgent

private JademxPingAgent pingAgent
my typed agent

Constructor Detail

JademxPingAgent.PingResponder

public JademxPingAgent.PingResponder(JademxPingAgent a,
                                     jade.lang.acl.MessageTemplate mt)
Parameters:
a - my agent
mt - message template to use
Method Detail

prepareResponse

protected jade.lang.acl.ACLMessage prepareResponse(jade.lang.acl.ACLMessage request)
                                            throws jade.domain.FIPAAgentManagement.NotUnderstoodException,
                                                   jade.domain.FIPAAgentManagement.RefuseException
Overrides:
prepareResponse in class jade.proto.SimpleAchieveREResponder
Throws:
jade.domain.FIPAAgentManagement.NotUnderstoodException
jade.domain.FIPAAgentManagement.RefuseException


Copyright © 2005-2006 Caboodle Networks, Inc.
LGPL license