Quintiq file version 2.0
|
#parent: #root
|
Method ReceiveDataManagerConfiguration (String host_i, Number port_i, String datasetKind_i,
|
String datasetFolder_i, String datasetName_i, String systemName_i,
|
String systemQProductName_i)
|
{
|
Description:
|
[*
|
Receive DataManager configuration from Data Manager and reply with Systems configuration to DataManager
|
(i) This method should only be triggered in a System
|
*]
|
TextBody:
|
[*
|
// Store the received DataManager configuration
|
// This method should only be triggered in a System
|
if( not this.IsDataManager() )
|
{
|
globalParam := this.GlobalParameters();
|
globalParam.DM_Host( host_i );
|
globalParam.DM_Port( port_i );
|
globalParam.DM_DatasetKind( datasetKind_i );
|
globalParam.DM_DatasetFolder( datasetFolder_i );
|
globalParam.DM_DatasetName( datasetName_i );
|
|
this.SystemName( systemName_i );
|
this.SystemQProductName( systemQProductName_i );
|
|
// Send Systems configuration to DataManager
|
this.SendSystemConfigurationToDM();
|
}
|
else
|
{
|
LibDMF_Util::LogError( this.SystemShortName(),
|
"LibDMF_CommunicationChannelRoot.ReceiveDataManagerConfiguration() method should only be triggered in a System, not in the DataManager." );
|
}
|
*]
|
}
|