public String server_id() { int val = iorTemplate.getObjectKeyTemplate().getServerId(); return Integer.toString(val); }
public String server_id() { int val = iorTemplate.getObjectKeyTemplate().getServerId(); return Integer.toString(val); }
public synchronized boolean isLocal() { if (!checkedIsLocal) { checkedIsLocal = true; String host = proftemp.getPrimaryAddress().getHost(); cachedIsLocal = orb.isLocalHost(host) && orb.isLocalServerId(oktemp.getSubcontractId(), oktemp.getServerId()) && orb.getLegacyServerSocketManager().legacyIsLocalServerPort( proftemp.getPrimaryAddress().getPort()); } return cachedIsLocal; }
public synchronized boolean isLocal() { if (!checkedIsLocal) { checkedIsLocal = true; String host = proftemp.getPrimaryAddress().getHost(); cachedIsLocal = orb.isLocalHost(host) && orb.isLocalServerId(oktemp.getSubcontractId(), oktemp.getServerId()) && orb.getLegacyServerSocketManager().legacyIsLocalServerPort( proftemp.getPrimaryAddress().getPort()); } return cachedIsLocal; }