public void ScenarioSetup()
        {
            this._senders   = new SenderContext <object>();
            this._receivers = new List <ReceiverContext <object> >();

            this._checker = new Rediser(_redisConString);
        }
Пример #2
0
        protected void Dispose(bool disposing)
        {
            if (!this.disposedValue)
            {
                return;
            }

            _msgConnection.Client.Database.Multiplexer.Close();
            _msgConnection = null;

            _dataConnection.Client.Database.Multiplexer.Close();
            _dataConnection = null;

            this._senderState.Clear();

            this._senderState = null;
        }