IRedisPubSubServer
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisPubSubServer : IDisposable
Properties
OnInit
View Source
Declaration
Action OnInit { get; set; }
OnStart
View Source
Declaration
Action OnStart { get; set; }
OnStop
View Source
Declaration
Action OnStop { get; set; }
OnDispose
View Source
Declaration
Action OnDispose { get; set; }
OnMessage
View Source
Declaration
Action<string, string> OnMessage { get; set; }
OnUnSubscribe
View Source
Declaration
Action<string> OnUnSubscribe { get; set; }
OnEvent
View Source
Declaration
Action<string> OnEvent { get; set; }
OnError
View Source
Declaration
Action<Exception> OnError { get; set; }
OnFailover
View Source
Declaration
Action<IRedisPubSubServer> OnFailover { get; set; }
ClientsManager
View Source
Declaration
IRedisClientsManager ClientsManager { get; }
Channels
View Source
Declaration
string[] Channels { get; }
WaitBeforeNextRestart
View Source
Declaration
TimeSpan? WaitBeforeNextRestart { get; set; }
CurrentServerTime
View Source
Declaration
DateTime CurrentServerTime { get; }
Methods
GetStatus()
View Source
Declaration
string GetStatus()
Returns
System.String
GetStatsDescription()
View Source
Declaration
string GetStatsDescription()
Returns
System.String
Start()
View Source
Declaration
IRedisPubSubServer Start()
Returns
ServiceStack.Redis.IRedisPubSubServer
Stop()
View Source
Declaration
void Stop()
Restart()
View Source
Declaration
void Restart()