cz.cuni.pogamut.Client.jmx
Class AgentWrapper

java.lang.Object
  extended by cz.cuni.pogamut.Client.jmx.AgentWrapper
All Implemented Interfaces:
AgentWrapperMXBean

public class AgentWrapper
extends java.lang.Object
implements AgentWrapperMXBean

Class AgentWrapper


Field Summary
private  Agent theRef
           
 
Constructor Summary
AgentWrapper(Agent theRef)
           
 
Method Summary
 void disconnect()
          Operation exposed for management
 ParserType getBindedParserType()
          Get Attribute exposed for management
 CommunicationState getCommunicationState()
          Get Communication state of the agent
 IntrospectableProxy getIntrospectableProxy()
          Get Main class used for Pogamut introspection of the agent
 AgentMemory getMemory()
          Get Attribute exposed for management
 java.lang.String getName()
          Get Attribute exposed for management
 void pauseLogic(java.lang.Object param0)
          Operation exposed for management
 void resumeLogic(java.lang.Object param0)
          Operation exposed for management
 void sendMessageToGB(java.lang.String param0)
          Sends a GB message to the UT server
 void stopAgentSoft()
          Operation exposed for management
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theRef

private Agent theRef
Constructor Detail

AgentWrapper

public AgentWrapper(Agent theRef)
             throws javax.management.NotCompliantMBeanException
Throws:
javax.management.NotCompliantMBeanException
Method Detail

getBindedParserType

public ParserType getBindedParserType()
Get Attribute exposed for management

Specified by:
getBindedParserType in interface AgentWrapperMXBean

getCommunicationState

public CommunicationState getCommunicationState()
Get Communication state of the agent

Specified by:
getCommunicationState in interface AgentWrapperMXBean

getIntrospectableProxy

public IntrospectableProxy getIntrospectableProxy()
Get Main class used for Pogamut introspection of the agent


getMemory

public AgentMemory getMemory()
Get Attribute exposed for management


getName

public java.lang.String getName()
Get Attribute exposed for management

Specified by:
getName in interface AgentWrapperMXBean

disconnect

public void disconnect()
Operation exposed for management

Specified by:
disconnect in interface AgentWrapperMXBean

pauseLogic

public void pauseLogic(java.lang.Object param0)
Operation exposed for management

Parameters:
param0 -

resumeLogic

public void resumeLogic(java.lang.Object param0)
Operation exposed for management

Parameters:
param0 -

sendMessageToGB

public void sendMessageToGB(java.lang.String param0)
                     throws CantWriteException
Sends a GB message to the UT server

Specified by:
sendMessageToGB in interface AgentWrapperMXBean
Parameters:
param0 -
Throws:
CantWriteException

stopAgentSoft

public void stopAgentSoft()
Operation exposed for management

Specified by:
stopAgentSoft in interface AgentWrapperMXBean