public SocketProcessId() { int port = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdPort(); int maxPorts = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdMaxPorts(); int maxPort; if (maxPorts <= 1) { maxPort = port; } else if (Utility.MAX_PORT - maxPorts < port) { maxPort = Utility.MAX_PORT; } else { maxPort = port + maxPorts; } do { _theSocket = createSocket(port); } while (_theSocket == null && ++port < maxPort); _thePort = ((_theSocket == null) ? -1 : _theSocket.getLocalPort()); if (_thePort == -1) { throw new FatalError(tsLogger.i18NLogger.get_utils_SocketProcessId_2()); } }
public SocketProcessId() { int port = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdPort(); int maxPorts = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdMaxPorts(); int maxPort; if (maxPorts <= 1) { maxPort = port; } else if (Utility.MAX_PORT - maxPorts < port) { maxPort = Utility.MAX_PORT; } else { maxPort = port + maxPorts; } do { _theSocket = createSocket(port); } while (_theSocket == null && ++port < maxPort); _thePort = ((_theSocket == null) ? -1 : _theSocket.getLocalPort()); if (_thePort == -1) { throw new FatalError(tsLogger.i18NLogger.get_utils_SocketProcessId_2()); } }
public SocketProcessId() { int port = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdPort(); int maxPorts = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdMaxPorts(); int maxPort; if (maxPorts <= 1) { maxPort = port; } else if (Utility.MAX_PORT - maxPorts < port) { maxPort = Utility.MAX_PORT; } else { maxPort = port + maxPorts; } do { _theSocket = createSocket(port); } while (_theSocket == null && ++port < maxPort); _thePort = ((_theSocket == null) ? -1 : _theSocket.getLocalPort()); if (_thePort == -1) { throw new FatalError(tsLogger.i18NLogger.get_utils_SocketProcessId_2()); } }
public SocketProcessId() { int port = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdPort(); int maxPorts = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdMaxPorts(); int maxPort; if (maxPorts <= 1) { maxPort = port; } else if (Utility.MAX_PORT - maxPorts < port) { maxPort = Utility.MAX_PORT; } else { maxPort = port + maxPorts; } do { _theSocket = createSocket(port); } while (_theSocket == null && ++port < maxPort); _thePort = ((_theSocket == null) ? -1 : _theSocket.getLocalPort()); if (_thePort == -1) { throw new FatalError(tsLogger.i18NLogger.get_utils_SocketProcessId_2()); } }
public SocketProcessId() { int port = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdPort(); int maxPorts = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdMaxPorts(); int maxPort; if (maxPorts <= 1) { maxPort = port; } else if (Utility.MAX_PORT - maxPorts < port) { maxPort = Utility.MAX_PORT; } else { maxPort = port + maxPorts; } do { _theSocket = createSocket(port); } while (_theSocket == null && ++port < maxPort); _thePort = ((_theSocket == null) ? -1 : _theSocket.getLocalPort()); if (_thePort == -1) { throw new FatalError(tsLogger.i18NLogger.get_utils_SocketProcessId_2()); } }
public SocketProcessId() { int port = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdPort(); int maxPorts = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdMaxPorts(); int maxPort; if (maxPorts <= 1) { maxPort = port; } else if (Utility.MAX_PORT - maxPorts < port) { maxPort = Utility.MAX_PORT; } else { maxPort = port + maxPorts; } do { _theSocket = createSocket(port); } while (_theSocket == null && ++port < maxPort); _thePort = ((_theSocket == null) ? -1 : _theSocket.getLocalPort()); if (_thePort == -1) { throw new FatalError(tsLogger.i18NLogger.get_utils_SocketProcessId_2()); } }
public SocketProcessId() { int port = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdPort(); int maxPorts = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdMaxPorts(); int maxPort; if (maxPorts <= 1) { maxPort = port; } else if (Utility.MAX_PORT - maxPorts < port) { maxPort = Utility.MAX_PORT; } else { maxPort = port + maxPorts; } do { _theSocket = createSocket(port); } while (_theSocket == null && ++port < maxPort); _thePort = ((_theSocket == null) ? -1 : _theSocket.getLocalPort()); if (_thePort == -1) { throw new FatalError(tsLogger.i18NLogger.get_utils_SocketProcessId_2()); } }
public SocketProcessId() { int port = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdPort(); int maxPorts = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdMaxPorts(); int maxPort; if (maxPorts <= 1) { maxPort = port; } else if (Utility.MAX_PORT - maxPorts < port) { maxPort = Utility.MAX_PORT; } else { maxPort = port + maxPorts; } do { _theSocket = createSocket(port); } while (_theSocket == null && ++port < maxPort); _thePort = ((_theSocket == null) ? -1 : _theSocket.getLocalPort()); if (_thePort == -1) { throw new FatalError(tsLogger.i18NLogger.get_utils_SocketProcessId_2()); } }
public SocketProcessId() { int port = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdPort(); int maxPorts = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdMaxPorts(); int maxPort; if (maxPorts <= 1) { maxPort = port; } else if (Utility.MAX_PORT - maxPorts < port) { maxPort = Utility.MAX_PORT; } else { maxPort = port + maxPorts; } do { _theSocket = createSocket(port); } while (_theSocket == null && ++port < maxPort); _thePort = ((_theSocket == null) ? -1 : _theSocket.getLocalPort()); if (_thePort == -1) { throw new FatalError(tsLogger.i18NLogger.get_utils_SocketProcessId_2()); } }
public SocketProcessId() { int port = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdPort(); int maxPorts = arjPropertyManager.getCoreEnvironmentBean().getSocketProcessIdMaxPorts(); int maxPort; if (maxPorts <= 1) { maxPort = port; } else if (Utility.MAX_PORT - maxPorts < port) { maxPort = Utility.MAX_PORT; } else { maxPort = port + maxPorts; } do { _theSocket = createSocket(port); } while (_theSocket == null && ++port < maxPort); _thePort = ((_theSocket == null) ? -1 : _theSocket.getLocalPort()); if (_thePort == -1) { throw new FatalError(tsLogger.i18NLogger.get_utils_SocketProcessId_2()); } }