internal ExecutionStep()
        {
            _serverInstance = ExCommsServerImpl.Current;

            _nextSteps = new Lazy <ExecutionStepCollection>(() =>
            {
                _hasNextSteps    = true;
                _nextStepsCached = new StringDictionary <ExecutionStep>();
                return(new ExecutionStepCollection());
            });
            _prevSteps = new Lazy <ExecutionStepCollection>(() =>
            {
                _hasPrevSteps    = true;
                _prevStepsCached = new StringDictionary <ExecutionStep>();
                return(new ExecutionStepCollection());
            });

            if (ExecutionStepFactory.Current.ExecutionStepExecutor != null)
            {
                _processMessageG2H = ExecutionStepFactory.Current.ExecutionStepExecutor.ProcessMessageG2H;
                _processMessageH2G = ExecutionStepFactory.Current.ExecutionStepExecutor.ProcessMessageH2G;
            }
            else
            {
                _processMessageG2H = this.OnProcessMessageG2H;
                _processMessageH2G = this.OnProcessMessageH2G;
            }
            this.PostTypeG2H = ExecutionStepPostTypes.ProcessInExternalChannel;
            this.PostTypeH2G = ExecutionStepPostTypes.ProcessInCurrentChannel;

            _allowedMessages = new SortedDictionary <ExecutionStepKeyValue, byte>(new KeyValueComparer());
        }
 protected FreeformHandlerBase()
 {
     _serverInstance = ExCommsServerImpl.Current;
 }
示例#3
0
 protected FreeformHandlerBase()
 {
     _serverInstance = ExCommsServerImpl.Current;
 }
 public FFMsgTransmitter()
 {
     _serverInstance = ExCommsServerImpl.Current;
 }
 public FFMsgTransmitter()
 {
     _serverInstance = ExCommsServerImpl.Current;
 }