Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Session_ServerThread Class Reference

#include <Session_ServerThread.hxx>

Inheritance diagram for Session_ServerThread:
Inheritance graph

Public Member Functions

 Session_ServerThread ()
 
 Session_ServerThread (int argc, char **argv, CORBA::ORB_ptr orb, PortableServer::POA_ptr poa)
 
virtual ~Session_ServerThread ()
 
void Init ()
 
void Shutdown ()
 

Static Public Attributes

static const int NB_SRV_TYP = 6
 
static const char * _serverTypes []
 

Protected Member Functions

void ActivateModuleCatalog (int argc, char **argv)
 
void ActivateSALOMEDS (int argc, char **argv)
 
void ActivateRegistry (int argc, char **argv)
 
void ActivateContainer (int argc, char **argv)
 
virtual void ActivateSession (int argc, char **argv)
 
void ActivateEngine (int argc, char **argv)
 
void ActivateContainerManager (int argc, char **argv)
 

Protected Attributes

int _argc
 
char ** _argv
 
int _servType
 
CORBA::ORB_var _orb
 
PortableServer::POA_var _root_poa
 
SALOME_NamingService * _NS
 
Engines_Container_i * _container
 

Constructor & Destructor Documentation

Session_ServerThread::Session_ServerThread ( )

default constructor not for use

Session_ServerThread::Session_ServerThread ( int  argc,
char **  argv,
CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa 
)

constructor

References _argc, _argv, _container, _NS, _orb, _root_poa, and _servType.

Session_ServerThread::~Session_ServerThread ( )
virtual

destructor

References _argc, _argv, and _NS.

Member Function Documentation

void Session_ServerThread::ActivateContainer ( int  argc,
char **  argv 
)
protected

References _container, _orb, and _root_poa.

void Session_ServerThread::ActivateContainerManager ( int  argc,
char **  argv 
)
protected

References _orb.

void Session_ServerThread::ActivateEngine ( int  argc,
char **  argv 
)
protected
void Session_ServerThread::ActivateModuleCatalog ( int  argc,
char **  argv 
)
protected

References _NS, and _root_poa.

void Session_ServerThread::ActivateRegistry ( int  argc,
char **  argv 
)
protected

References _NS, and _orb.

void Session_ServerThread::ActivateSALOMEDS ( int  argc,
char **  argv 
)
protected

References _orb, and _root_poa.

void Session_ServerThread::ActivateSession ( int  argc,
char **  argv 
)
protectedvirtual

Reimplemented in Session_SessionThread.

void Session_ServerThread::Init ( )

run the thread : activate one servant, the servant type is given by argument _argv[0]

References _argc, _argv, _NS, _serverTypes, _servType, ActivateContainer(), ActivateContainerManager(), ActivateModuleCatalog(), ActivateRegistry(), ActivateSALOMEDS(), ActivateSession(), and NB_SRV_TYP.

void Session_ServerThread::Shutdown ( )

References _container.

Member Data Documentation

int Session_ServerThread::_argc
protected
char** Session_ServerThread::_argv
protected
Engines_Container_i* Session_ServerThread::_container
protected
SALOME_NamingService* Session_ServerThread::_NS
protected
CORBA::ORB_var Session_ServerThread::_orb
protected
PortableServer::POA_var Session_ServerThread::_root_poa
protected
const char * Session_ServerThread::_serverTypes
static
Initial value:
= {"Container",
"ModuleCatalog",
"Registry",
"SALOMEDS",
"Session",
"ContainerManager"}
int Session_ServerThread::_servType
protected
const int Session_ServerThread::NB_SRV_TYP = 6
static

The documentation for this class was generated from the following files: