Example #1
0
        protected RedisClient(RedisConnectionSetting connectionSettings, RedisAddressSetting serverAddressSettings)
        {
            this.connectionSettings = connectionSettings;
            this.addressSettings = serverAddressSettings;
            this.ServerIp = this.addressSettings.ServerIP;
            this.DbId = this.addressSettings.DbId;

            _socketManager = new SocketManager(GetType().Name);
        }
Example #2
0
        protected RedisClient(RedisConnectionSetting connectionSettings, RedisAddressSetting serverAddressSettings)
        {
            this.connectionSettings = connectionSettings;
            this.addressSettings    = serverAddressSettings;
            this.ServerIp           = this.addressSettings.ServerIP;
            this.DbId = this.addressSettings.DbId;

            _socketManager = new SocketManager(GetType().Name);
        }