Version: 9.15.0
NSparam Namespace Reference

Functions

def getNSparams (info="")
 

Variables

def my_host = getNSparams('host')
 
def my_port = getNSparams('port')
 

Function Documentation

◆ getNSparams()

def NSparam.getNSparams (   info = "")
check environment for omniORB configuration file.
parse the file to find the line defining naming service  host and port,
set environment variables NSPORT and NSHOST,
get host and port,
if   info==host print host
elif info==port print host
else    print 2 strings on stdout on one line: host port

References salome_utils.getORBcfgInfo().

Referenced by runSession.configureSession().

Variable Documentation

◆ my_host

NSparam.my_host = getNSparams('host')

◆ my_port

NSparam.my_port = getNSparams('port')