RTMPMinaTransportMBean.class, oName);
//enable only if user wants it
if (JMXAgent.isEnableMinaMonitor()) {
//add a service manager to allow for more introspection into the workings of mina
serviceManager = new IoServiceManager(acceptor);
//poll every second
serviceManager.startCollectingStats(jmxPollInterval);
serviceManagerObjectName = JMXFactory.createObjectName("type", "IoServiceManager",
"address", (address == null ? "0.0.0.0" : address), "port",
port + "");