IceWarpServer.StatisticsObject
--------------------------
IStatisticsObjectDisp = dispinterface
['{A17B4801-6473-475E-89C9-20E246D1B4A6}']
function IsRunning(const Service: WideString): WordBool; dispid 201;
function Reset(const Service: WideString): WordBool; dispid 202;
function Poll(const Service: WideString): WordBool; dispid 203;
function GetProperty(Command: OleVariant): OleVariant; dispid 204;
function Start(const Service: WideString): WordBool; dispid 205;
function Stop(const Service: WideString): WordBool; dispid 206;
function GetSessions(const Service: WideString; History: WordBool): WideString; dispid 207;
property TokenHandle: Integer dispid 208;
end;
The statistics object lets you poll different services of the mail server and read the statistics such as running time, server connections, data sent received and much more.
Service variable can contain these values:
SMTP
POP3
IMAP
IM
GW
FTP
Control
SIP
LDAP