public RedisConnectionManager(RedisConnection redisConnection, NotificationEvents nEvents) { _redisConnection = redisConnection; _configurationOptions = new ConfigurationOptions(); //_configurationOptions.User //TOOD: implement user/password/ssl //_configurationOptions.TrustIssuer(new X509Certificate2) _configurationOptions.EndPoints.Add(_redisConnection.Host, _redisConnection.Port); _nEvents = nEvents; }
public RedisSubscriber( ISubscriber subscriber, string channel, NotificationEvents nEvents) { _subscriber = subscriber; _channel = channel; _channelMessageQueue = subscriber.Subscribe(channel); _nEvents = nEvents; }
public RedisPublisher(ISubscriber subscriber, string channel, NotificationEvents nEvents) { _subscriber = subscriber; _channel = channel; _nEvents = nEvents; }
public RedisManager(RedisConnectionManager redisConnectionManager, NotificationEvents nEvents) { _redisConnectionManager = redisConnectionManager; _nEvents = nEvents; }