jade.jademx.agent
Class JademxNopAgent

java.lang.Object
  extended by jade.core.Agent
      extended by jade.jademx.agent.JademxAgent
          extended by jade.jademx.agent.JademxNopAgent
All Implemented Interfaces:
jade.core.TimerListener, jade.jademx.mbean.JadeJMXAgent, java.io.Serializable, java.lang.Runnable, javax.management.DynamicMBean

public class JademxNopAgent
extends jade.jademx.agent.JademxAgent

sample agent to demonstrate building agent using jademx.

Author:
David Bernstein, Caboodle Networks, Inc.
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class jade.core.Agent
jade.core.Agent.Interrupted
 
Field Summary
 
Fields inherited from class jade.jademx.agent.JademxAgent
ATTR_UNIT_TEST_ACTUAL_MESSAGE_NAME, ATTR_UNIT_TEST_CMP_CONTENT_NAME, ATTR_UNIT_TEST_CMP_CONVERSATION_ID_NAME, ATTR_UNIT_TEST_CMP_ENCODING_NAME, ATTR_UNIT_TEST_CMP_ENVELOPE_NAME, ATTR_UNIT_TEST_CMP_IN_REPLY_TO_NAME, ATTR_UNIT_TEST_CMP_LANGUAGE_NAME, ATTR_UNIT_TEST_CMP_ONTOLOGY_NAME, ATTR_UNIT_TEST_CMP_PERFORMATIVE_NAME, ATTR_UNIT_TEST_CMP_PROTOCOL_NAME, ATTR_UNIT_TEST_CMP_RECEIVER_NAME, ATTR_UNIT_TEST_CMP_REPLY_BY_NAME, ATTR_UNIT_TEST_CMP_REPLY_TO_NAME, ATTR_UNIT_TEST_CMP_REPLY_WITH_NAME, ATTR_UNIT_TEST_CMP_SENDER_NAME, ATTR_UNIT_TEST_CMP_USER_PROPERTIES_NAME, ATTR_UNIT_TEST_EXPECTED_MESSAGE_NAME, ATTR_UNIT_TEST_IGNORE_CONTENT_AID_ADDRESSES_NAME, ATTR_UNIT_TEST_INJECT_MESSAGE_NAME, ATTR_UNIT_TEST_NEWLINES_NORMALIZED_NAME, ATTR_UNIT_TEST_TIMEOUT_NAME, NOTIF_INFO_DESCRIPTION, NOTIF_UNIT_TEST_FAILURE_NAME, NOTIF_UNIT_TEST_SUCCESS_NAME, OPER_UNIT_TEST_ADD_VARIABLE_NAME, OPER_UNIT_TEST_ADD_VARIABLE_SIGNATURE, OPER_UNIT_TEST_ADD_VARIABLE_TYPE, OPER_UNIT_TEST_CLEAR_VARIABLES_NAME, OPER_UNIT_TEST_CLEAR_VARIABLES_SIGNATURE, OPER_UNIT_TEST_CLEAR_VARIABLES_TYPE, OPER_UNIT_TEST_INJECT_AND_EXPECT_NAME, OPER_UNIT_TEST_INJECT_AND_EXPECT_SIGNATURE, OPER_UNIT_TEST_INJECT_AND_EXPECT_TYPE
 
Fields inherited from class jade.core.Agent
AP_ACTIVE, AP_DELETED, AP_IDLE, AP_INITIATED, AP_MAX, AP_MIN, AP_SUSPENDED, AP_WAITING, D_ACTIVE, D_MAX, D_MIN, D_RETIRED, D_SUSPENDED, D_UNKNOWN
 
Constructor Summary
JademxNopAgent()
          make a Jademx ping agent
 
Method Summary
protected  void setup()
           
 
Methods inherited from class jade.jademx.agent.JademxAgent
, assertExpectedMessage, assertExpectedMessage, assertIsJademxAgent, assertIsJademxAgent, changedMBeanInfo, getAttribute, getAttributes, getMBeanInfo, getUnitTestActualMessage, getUnitTestExpectedMessage, getUnitTestInjectMessage, getUnitTestTimeout, invoke, isJademxBound, isUnitTestCmpContent, isUnitTestCmpConversationId, isUnitTestCmpEncoding, isUnitTestCmpEnvelope, isUnitTestCmpInReplyTo, isUnitTestCmpLanguage, isUnitTestCmpOntology, isUnitTestCmpPerformative, isUnitTestCmpProtocol, isUnitTestCmpReceiver, isUnitTestCmpReplyBy, isUnitTestCmpReplyTo, isUnitTestCmpReplyWith, isUnitTestCmpSender, isUnitTestCmpUserProperties, isUnitTestIgnoreContentAIDAddresses, isUnitTestNewlinesNormalized, notifyListeners, setAttribute, setAttributes, setJadeAgent, setMBeanInfo, setUnitTestActualMessage, setUnitTestCmpContent, setUnitTestCmpConversationId, setUnitTestCmpEncoding, setUnitTestCmpEnvelope, setUnitTestCmpInReplyTo, setUnitTestCmpLanguage, setUnitTestCmpOntology, setUnitTestCmpPerformative, setUnitTestCmpProtocol, setUnitTestCmpReceiver, setUnitTestCmpReplyBy, setUnitTestCmpReplyTo, setUnitTestCmpReplyWith, setUnitTestCmpSender, setUnitTestCmpUserProperties, setUnitTestExpectedMessage, setUnitTestIgnoreContentAIDAddresses, setUnitTestInjectMessage, setUnitTestNewlinesNormalized, setUnitTestTimeout, unitTestAddVariable, unitTestClearVariables, unitTestInjectAndExpect
 
Methods inherited from class jade.core.Agent
addBehaviour, afterClone, afterMove, beforeClone, beforeMove, blockingReceive, blockingReceive, blockingReceive, blockingReceive, changeStateTo, clean, doActivate, doClone, doDelete, doMove, doSuspend, doTimeOut, doWait, doWait, doWake, getAgentState, getAID, getAMS, getArguments, getContainerController, getContentManager, getCurQueueSize, getDefaultDF, getHap, getHelper, getLocalName, getName, getO2AObject, getProperty, getQueueSize, getState, here, notifyChangeBehaviourState, notifyRestarted, postMessage, putBack, putO2AObject, receive, receive, removeBehaviour, restartLater, restore, restoreBufferedState, run, send, setArguments, setEnabledO2ACommunication, setGenerateBehaviourEvents, setQueueSize, takeDown, waitUntilStarted, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JademxNopAgent

public JademxNopAgent()
make a Jademx ping agent

Method Detail

setup

protected void setup()
Overrides:
setup in class jade.jademx.agent.JademxAgent


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