Exemplo n.º 1
0
//=============================================================================
// CONSTRUCTOR: SPELLexecutorIPC::SPELLexecutorIPC()
//=============================================================================
SPELLexecutorIPC::SPELLexecutorIPC( SPELLexecutor& controller, const SPELLexecutorStartupParams& config )
: SPELLipcInterfaceListener(),
  m_ipc("CTX-TO-EXECUTOR",999,config.getIpcPort()), // If port is zero, let the interface get a free port
  m_controller(controller)
{
	m_connected = false;
}
Exemplo n.º 2
0
//=============================================================================
// CONSTRUCTOR: SPELLexecutorModel::SPELLexecutorModel()
//=============================================================================
SPELLexecutorModel::SPELLexecutorModel( const SPELLexecutorStartupParams& config )
{
	m_procId = config.getProcId();
	m_instanceId = config.getInstanceId();
	m_timeId = config.getTimeId();
	m_instanceNum = config.getInstanceNum();
	m_parentProcId = config.getParentInstanceId();
	m_parentCallingLine = config.getParentCallingLine();
	m_groupId = config.getGroupId();
	m_originId = config.getOriginId();
	m_arguments = config.getArguments();
	m_condition = config.getCondition();
	m_openMode = config.getOpenMode();
	m_configFile = config.getConfigFile();
	m_contextName = config.getContextName();
	m_ipcKey = -1;
	m_ipcPort = config.getIpcPort();
	m_PID = config.getPID();
	m_status = STATUS_UNKNOWN;
	m_logFileName = "";
	m_wsFileName = config.getRecoveryFile();
	m_currentStageId = "";
	m_currentStageTitle = "";
}