public class BotJMXMBeanAdapter<T extends IUT2004Bot> extends Agent3DMBeanAdapter<T> implements BotJMXMBeanAdapterMBean
AGENT_NAME_FLAG_NAME, AGENT_STATE_FLAG_NAME
Constructor and Description |
---|
BotJMXMBeanAdapter(T agent,
ObjectName objectName,
MBeanServer mbs) |
Modifier and Type | Method and Description |
---|---|
void |
boolConfigure(String param,
boolean value)
Configures bot property.
|
void |
respawn() |
boolean |
retrieveBoolConfigure(String param)
Get configuration parameter value.
|
getLocation, getRotation, getVelocity
getAgent, getComponentId, getName, getObjectName, getState, kill, pause, resume, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLocation, getRotation, getVelocity
getComponentId, getName, getObjectName, getState, kill, pause, resume, start, stop
public BotJMXMBeanAdapter(T agent, ObjectName objectName, MBeanServer mbs) throws MalformedObjectNameException, InstanceAlreadyExistsException, InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException
public void respawn() throws cz.cuni.amis.utils.exception.PogamutException
respawn
in interface BotJMXMBeanAdapterMBean
cz.cuni.amis.utils.exception.PogamutException
public void boolConfigure(String param, boolean value)
BotJMXMBeanAdapterMBean
boolConfigure
in interface BotJMXMBeanAdapterMBean
param
- see BoolBotParampublic boolean retrieveBoolConfigure(String param)
BotJMXMBeanAdapterMBean
retrieveBoolConfigure
in interface BotJMXMBeanAdapterMBean
param
- see BoolBotParamCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.