public void Export(APPEVENTSDeff appEVENTSDeff, int appEventID, string appBASEMODULE, string[] appMESSAGES, out object returnValue) { returnValue = null; string __mqParams = ConfigurationManager.AppSettings.Get("SAFEXPORTEVENTS_MSMQPATH"); if (__mqParams != null && (__mqParams ?? "").Length >= 1) { string[] _gatewayParams = __mqParams.Split(new char[] { '|' }); if (_gatewayParams.Length >= 2) { string[] arrExport = (appMESSAGES != null) ? new string[appMESSAGES.Length + 2] : new string[0]; try { if (APPEVENTSDeff.GENERIC_EVENTS == appEVENTSDeff) { appMESSAGES.CopyTo(arrExport, 0); arrExport.SetValue(appBASEMODULE, appMESSAGES.Length); arrExport.SetValue(appEventID.ToString(), appMESSAGES.Length + 1); MSMQHELPER.sendMQMessage(_gatewayParams[0], _gatewayParams[1], arrExport); } } finally { } } } }
public void Export(APPEVENTSDeff appEVENTSDeff, int appEventID, string appBASEMODULE, string[] appMESSAGES, out object returnValue) { returnValue = null; string __mqParams = ConfigurationManager.AppSettings.Get("SAFEXPORTEVENTS_MSMQPATH"); if (__mqParams != null && (__mqParams ?? "").Length >= 1) { string[] _gatewayParams = __mqParams.Split(new char[] { '|' }); if (_gatewayParams.Length >= 2) { string[] arrExport = (appMESSAGES != null) ? new string[appMESSAGES.Length + 2] : new string[0]; try { if (APPEVENTSDeff.GENERIC_EVENTS == appEVENTSDeff) { appMESSAGES.CopyTo(arrExport, 0); arrExport.SetValue(appBASEMODULE, appMESSAGES.Length); arrExport.SetValue(appEventID.ToString(), appMESSAGES.Length + 1); MSMQHELPER.sendMQMessage(_gatewayParams[0], _gatewayParams[1], arrExport); } } finally { } } } }
public static void Export(string eventHandlerTypeName, APPEVENTSDeff appeventDeff, int appEventID, string appMODName, string[] appMessages) { object retVAL = null; try { ISAFEvents safEvents = SAFEventsFactory.LoadAssembly((eventHandlerTypeName == null || eventHandlerTypeName.Length < 1) ? SAFConfiguration.readParameterExternal("SAFAPPEventHandler") : eventHandlerTypeName); if (safEvents != null) { safEvents.Export(appeventDeff, appEventID, appMODName, appMessages, out retVAL); } } finally { } }
public static void Export(string eventHandlerTypeName, APPEVENTSDeff appeventDeff, int appEventID, string appMODName, string[] appMessages) { object retVAL = null; try { ISAFEvents safEvents = SAFEventsFactory.LoadAssembly((eventHandlerTypeName == null || eventHandlerTypeName.Length < 1) ? SAFConfiguration.readParameterExternal("SAFAPPEventHandler") : eventHandlerTypeName); if (safEvents != null) { safEvents.Export(appeventDeff, appEventID, appMODName, appMessages, out retVAL); } } finally { } }
public static void Export(APPEVENTSDeff appeventDeff, int appEventID, string appMODName, string[] appMessages) { SAFInternalEvents.Export(SAFConfiguration.readParameterExternal(appeventDeff.ToString()), appeventDeff, appEventID, appMODName, appMessages); }
public static void Export(APPEVENTSDeff appeventDeff, int appEventID, string appMODName, string[] appMessages) { SAFInternalEvents.Export(SAFConfiguration.readParameterExternal(appeventDeff.ToString()), appeventDeff, appEventID, appMODName, appMessages); }