General KERNEL Documentation     End User KERNEL Services  


salome_session Namespace Reference


Data Structures

class  SalomeSession

Functions

def startSession
def getShortHostName
def searchFreePort

Variables

 _session = None


Function Documentation

def salome_session::startSession   modules = []  ) 
 

def salome_session::getShortHostName  ) 
 

gives Hostname without domain extension.
SALOME naming service needs short Hostnames (without domain extension).
HOSTNAME is not allways defined in environment,
socket.gethostname() gives short or complete Hostname, depending on
defined aliases.

def salome_session::searchFreePort  ) 
 


Variable Documentation

salome_session::_session = None [static]