DSSX_Process
DSSX_Process
dssx
1998 12-06
CLASS
DSSX_Process - process controlled process
SYNOPSIS
This class is for process that are to be managed through a DSSX_ProcessManager.
This class automatically registers the process with process control upon
construction and deregisters upon destruction.
CONSTRUCTOR
DSSX_Process()
Construct a DSSX_Process thereby registering with process control.
This constructor automatically opens a DSSX_Connection, and registers itself.
The space name is passed to the process from the process control agent (a
process using DSSX_ProcessManager) through the environment variable
DSS_PROC_CNTRL_SPACENAME. The process name is passed to the process
from the process control agent through the environment variable
DSS_PROC_CNTRL_NAME.
This constructor will not work properly is the process was not started
from a process control agent.
DSSX_Process(DSSX_Connection *connection)
Construct a DSSX_Process thereby registering with process control.
This is the same as the above constructor except the pre-existing
DSSX_Connection connection is used.
DSSX_Process(DSSX_Connection *connection, const GPL_String &space, const GPL_String &name)
Construct a DSSX_Process thereby registering with process control.
This constructor differs from the above constructors in that the process does
not have to be started by a process control agent since the space name and
process name are set with space and name. However, care must be taken
in matching the names with those expected by process control.