try
{
//notify process about our new port
processRef.cosSetParams(params);
//get the process id
processId = processRef.cosGetProcessId();
//get operation mode
operMode = processRef.cosGetOperationMode();
//notify managed process of a restart
//ideally, the managed process should then re-register to the process manager
//TODO