jade.jademx.agent
Class JademxPingAgentProxy

java.lang.Object
  extended by jade.jademx.agent.JademxAgentProxy
      extended by jade.jademx.agent.JademxPingAgentProxy

public class JademxPingAgentProxy
extends jade.jademx.agent.JademxAgentProxy

proxy agent corresponding to JademxPingAgent. The purpose of this class is to have access to the dynamic JMX interface presented by a JademxAgent without having to use the cumbersome dynamic syntax for interacting with that interface.

Author:
David Bernstein, Caboodle Networks, Inc.

Field Summary
 
Fields inherited from class jade.jademx.agent.JademxAgentProxy
mBeanServer, objectName
 
Constructor Summary
JademxPingAgentProxy(javax.management.ObjectName objectName, javax.management.MBeanServer mBeanServer)
          make a JademxPingAgentProxy
 
Method Summary
 java.lang.String getResponse()
          proxy for @see JademxPingAgent#getResponse()
 java.lang.String ping(java.lang.String pingeeAgentFullName)
          proxy for @see JademxPingAgent#ping(String)
 void setResponse(java.lang.String response)
          proxy for @see JademxPingAgent#setResponse(String)
 
Methods inherited from class jade.jademx.agent.JademxAgentProxy
getAttribute, getUnitTestActualMessage, getUnitTestExpectedMessage, getUnitTestInjectMessage, getUnitTestTimeout, invoke, isUnitTestCmpContent, isUnitTestCmpConversationId, isUnitTestCmpEncoding, isUnitTestCmpEnvelope, isUnitTestCmpIgnoreContentAIDAddresses, isUnitTestCmpInReplyTo, isUnitTestCmpLanguage, isUnitTestCmpNewlinesNormalized, isUnitTestCmpOntology, isUnitTestCmpPerformative, isUnitTestCmpProtocol, isUnitTestCmpReceiver, isUnitTestCmpReplyBy, isUnitTestCmpReplyTo, isUnitTestCmpReplyWith, isUnitTestCmpSender, isUnitTestCmpUserProperties, setAttribute, setUnitTestCmpContent, setUnitTestCmpConversationId, setUnitTestCmpEncoding, setUnitTestCmpEnvelope, setUnitTestCmpIgnoreContentAIDAddresses, setUnitTestCmpInReplyTo, setUnitTestCmpLanguage, setUnitTestCmpNewlinesNormalized, setUnitTestCmpOntology, setUnitTestCmpPerformative, setUnitTestCmpProtocol, setUnitTestCmpReceiver, setUnitTestCmpReplyBy, setUnitTestCmpReplyTo, setUnitTestCmpReplyWith, setUnitTestCmpSender, setUnitTestCmpUserProperties, setUnitTestExpectedMessage, setUnitTestInjectMessage, setUnitTestTimeout, unitTestAddVariable, unitTestClearVariables, unitTestInjectAndExpect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JademxPingAgentProxy

public JademxPingAgentProxy(javax.management.ObjectName objectName,
                            javax.management.MBeanServer mBeanServer)
make a JademxPingAgentProxy

Parameters:
objectName - agent's ObjectName
mBeanServer - agent's MBeanServer
Method Detail

setResponse

public void setResponse(java.lang.String response)
                 throws jade.jademx.mbean.JademxException
proxy for @see JademxPingAgent#setResponse(String)

Parameters:
response - response to set
Throws:
jade.jademx.mbean.JademxException - on problem

getResponse

public java.lang.String getResponse()
                             throws jade.jademx.mbean.JademxException
proxy for @see JademxPingAgent#getResponse()

Returns:
response
Throws:
jade.jademx.mbean.JademxException - on problem

ping

public java.lang.String ping(java.lang.String pingeeAgentFullName)
                      throws jade.jademx.mbean.JademxException
proxy for @see JademxPingAgent#ping(String)

Returns:
current response
Throws:
jade.jademx.mbean.JademxException - on problem


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