Functions | |
def | createLogger () |
def | __acquire_lock (lock) |
def | __release_lock (lock) |
def | _getConfigurationFilename () |
def | __isPortUsed (port, config) |
def | __isNetworkConnectionActiveOnPort (port) |
def | getPort (preferredPort=None) |
def | releasePort (port) |
def | getBusyPorts () |
Variables | |
int | __PORT_MIN_NUMBER = 2810 |
int | __PORT_MAX_NUMBER = 2910 |
def | logger = createLogger() |
|
private |
Referenced by getBusyPorts(), getPort(), and releasePort().
|
private |
Referenced by __isPortUsed().
|
private |
References __isNetworkConnectionActiveOnPort().
Referenced by getBusyPorts(), and getPort().
|
private |
Referenced by getBusyPorts(), getPort(), and releasePort().
|
private |
References salome_utils.generateFileName().
Referenced by getBusyPorts(), getPort(), and releasePort().
def PortManager.createLogger | ( | ) |
def PortManager.getBusyPorts | ( | ) |
References __acquire_lock(), __isPortUsed(), __release_lock(), and _getConfigurationFilename().
Referenced by salomeContext.SalomeContext._killAll(), salomeContext.SalomeContext._showInfo(), TestMinimalExample.TestMinimalExample.testConcurrent(), and TestMinimalExample.TestMinimalExample.testSequential().
def PortManager.getPort | ( | preferredPort = None | ) |
References __acquire_lock(), __isPortUsed(), __release_lock(), and _getConfigurationFilename().
Referenced by TestMinimalExample.port_reservation(), and searchFreePort.searchFreePort_withPortManager().
def PortManager.releasePort | ( | port | ) |
References __acquire_lock(), __release_lock(), and _getConfigurationFilename().
Referenced by TestKiller.closeSalome(), launchConfigureParser.get_env(), killSalomeWithPort.killMyPort(), and killSalomeWithPort.shutdownMyPort().
|
private |
|
private |
def PortManager.logger = createLogger() |