public RedisPubSubServer(IRedisClientsManager clientsManager, params string[] channels)
{
this.ClientsManager = clientsManager;
this.Channels = channels;
var failoverHost = clientsManager as IRedisFailover;
if (failoverHost != null)
{
failoverHost.OnFailover.Add(HandleFailover);
}
}