-
Notifications
You must be signed in to change notification settings - Fork 10
/
ISensuClient.cs
32 lines (31 loc) · 1.02 KB
/
ISensuClient.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.Remoting;
namespace sensu_client
{
public interface ISensuClient
{
void LoadConfiguration();
void RequestAdditionalTime(int milliseconds);
void Stop();
void ServiceMainCallback(int argCount, IntPtr argPointer);
bool AutoLog { get; set; }
int ExitCode { get; set; }
bool CanHandlePowerEvent { get; set; }
bool CanHandleSessionChangeEvent { get; set; }
bool CanPauseAndContinue { get; set; }
bool CanShutdown { get; set; }
bool CanStop { get; set; }
EventLog EventLog { get; }
string ServiceName { get; set; }
ISite Site { get; set; }
IContainer Container { get; }
void Dispose();
string ToString();
event EventHandler Disposed;
object GetLifetimeService();
object InitializeLifetimeService();
ObjRef CreateObjRef(Type requestedType);
}
}