static ExecutionStepFactory() { _entities = new List <ExCommsExecutionStepEntity>(); _gmuExecutionStepsExecuting = new StringConcurrentDictionary <bool>(); _gmuSecurityTables = new StringConcurrentDictionary <FreeformSecurityTableCollection>(); _gmuFactories = new StringConcurrentDictionary <_ExecutionStepFactory>(); }
private void InitCommsServerCallbacks() { if (ExCommsHostingModuleTypeHelper.Current.HasMonitorServer4CommsServer) { _isCommsServer = true; _commsServersMapByIp = new StringConcurrentDictionary <string>(); _commsServersMapByInsno = new IntConcurrentDictionary <string>(); _mapIpInsNo = new StringConcurrentDictionary <int>(); _commsServerCallbacks = new StringConcurrentDictionary <IExMonServer4CommsServerCallback>(); _commsServerCallbackHelper = new WcfCallbackServerHelper <IExMonServer4CommsServerCallback>(this.Executor, _configStore.LogClients, true); _commsServerCallbackHelper.AfterSubscribed += OnCommServerCallbackHelper_AfterSubscribed; _commsServerCallbackHelper.AfterUnsubscribed += OnCommServerCallbackHelper_AfterUnsubscribed; } }
//internal _ExecutionStepFactory(List<ExCommsExecutionStepEntity> entities, // StringConcurrentDictionary<bool> gmuExecutionStepsExecuting) internal _ExecutionStepFactory(string key, List <ExCommsExecutionStepEntity> entities, FreeformSecurityTableCollection securityTables) { //_gmuExecutionSteps = new StringConcurrentDictionary<ExecutionStepDictionary>(); //_gmuExecutionStepsExecuting = gmuExecutionStepsExecuting; _key = key; _entities = entities; _securityTables = securityTables; _executionSteps = new ExecutionStepDictionary(); _executionSteps.Entity.GmuIpAddress = key; _messageWiseSteps = new StringConcurrentDictionary <ExecutionStepCollection>(); _requestResponseMappings = new DoubleKeyConcurrentDictionary <string, string, RequestResponseMapItem>( null, StringComparer.OrdinalIgnoreCase, StringComparer.OrdinalIgnoreCase); _groupedSteps = new ExecutionStepGroupedDictionary(); this.CreateExecutionSteps(); }
//internal _ExecutionStepFactory(List<ExCommsExecutionStepEntity> entities, // StringConcurrentDictionary<bool> gmuExecutionStepsExecuting) internal _ExecutionStepFactory(string key, List<ExCommsExecutionStepEntity> entities, FreeformSecurityTableCollection securityTables) { //_gmuExecutionSteps = new StringConcurrentDictionary<ExecutionStepDictionary>(); //_gmuExecutionStepsExecuting = gmuExecutionStepsExecuting; _key = key; _entities = entities; _securityTables = securityTables; _executionSteps = new ExecutionStepDictionary(); _executionSteps.Entity.GmuIpAddress = key; _messageWiseSteps = new StringConcurrentDictionary<ExecutionStepCollection>(); _requestResponseMappings = new DoubleKeyConcurrentDictionary<string, string, RequestResponseMapItem>( null, StringComparer.OrdinalIgnoreCase, StringComparer.OrdinalIgnoreCase); _groupedSteps = new ExecutionStepGroupedDictionary(); this.CreateExecutionSteps(); }
private void InitCommsServerCallbacks() { if (ExCommsHostingModuleTypeHelper.Current.HasMonitorServer4CommsServer) { _isCommsServer = true; _commsServersMapByIp = new StringConcurrentDictionary<string>(); _commsServersMapByInsno = new IntConcurrentDictionary<string>(); _mapIpInsNo = new StringConcurrentDictionary<int>(); _commsServerCallbacks = new StringConcurrentDictionary<IExMonServer4CommsServerCallback>(); _commsServerCallbackHelper = new WcfCallbackServerHelper<IExMonServer4CommsServerCallback>(this.Executor, _configStore.LogClients, true); _commsServerCallbackHelper.AfterSubscribed += OnCommServerCallbackHelper_AfterSubscribed; _commsServerCallbackHelper.AfterUnsubscribed += OnCommServerCallbackHelper_AfterUnsubscribed; } }
static FFMsgHandlerFactory() { //_entities = new List<ExCommsExecutionStepEntity>(); _gmuSecurityTables = new StringConcurrentDictionary <FreeformSecurityTableCollection>(); _gmuFactories = new StringConcurrentDictionary <_FFMsgHandlerFactory>(); }
static ExecutionStepFactory() { _entities = new List<ExCommsExecutionStepEntity>(); _gmuExecutionStepsExecuting = new StringConcurrentDictionary<bool>(); _gmuSecurityTables = new StringConcurrentDictionary<FreeformSecurityTableCollection>(); _gmuFactories = new StringConcurrentDictionary<_ExecutionStepFactory>(); }
static FFMsgHandlerFactory() { //_entities = new List<ExCommsExecutionStepEntity>(); _gmuSecurityTables = new StringConcurrentDictionary<FreeformSecurityTableCollection>(); _gmuFactories = new StringConcurrentDictionary<_FFMsgHandlerFactory>(); }