if ((desc.gateway == -1) || (desc.gateway == server.sid)) {
desc.gateway = server.sid;
desc.updateSockAddr(desc.getHostname(), server.port);
A3CMLServer current = getConfig().getServer(getServerId(),getClusterId());
if (current.containsNat(server.sid)) {
A3CMLNat nat = current.getNat(server.sid);
desc.updateSockAddr(nat.host, nat.port);
if (logmon.isLoggable(BasicLevel.DEBUG))
logmon.log(BasicLevel.DEBUG, getName() + " : NAT sDesc = " + desc);
}
}