if (logmon.isLoggable(BasicLevel.DEBUG)) {
logmon.log(BasicLevel.DEBUG, this.getName() + ", received message from: " + " "
+ packet.getAddress() + ":" + packet.getPort());
}
SocketAddress socketAddress = packet.getSocketAddress();
ServerInfo srvInfo = ((ServerInfo) serversInfo.get(socketAddress));
if (srvInfo == null) {
srvInfo = new ServerInfo();
try {
MXWrapper.registerMBean(srvInfo, "AgentServer", getMBeanName(socketAddress.toString()
.replace(':', '#')));
} catch (Exception exc) {
logmon.log(BasicLevel.ERROR, getName() + " jmx failed", exc);
}
serversInfo.put(socketAddress, srvInfo);