Home > Class Reference > %SYS namespace > SYS.WSMon.EventSink

SYS.WSMon.EventSink

class SYS.WSMon.EventSink extends %SOAP.WebService

This is an example of a CacheEventSink Web service which can recieve alerts from any InterSystems IRIS instance. Users should follow the WSDL generated from this class to create their own CacheEventSink Web method. Then register it using SYS.WSMon.Service.EventSubscribe() to "subscribe" to all alerts from each InterSystems IRIS instance.

The "alerts" would be the same events as those sent via SNMP, including all relevant alerts from messages.log (and the System Monitor). See the SYS.WSMon.wsEvent class for details on the properties included with each alert.

Method Inventory

Parameters

parameter NAMESPACE = http://www.intersystems.com/cache/wsmon/1;
SOAP Namespace for the WebService
parameter SERVICENAME = CacheEventSink;
Name of the WebService.
parameter USECLASSNAMESPACES = 1;
Namespaces of referenced classes will be used in the WSDL.

Methods

method CacheEventSink(event As SYS.WSMon.wsEvent) as %Integer [ Language = objectscript, WebMethod ]
Example service for a CacheEventSink

Inherited Members

Inherited Properties

Inherited Methods