Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / %SYS namespace / SYS.WSMon.EventSink
Private  Storage   

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.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 1


Summary


Properties
AddressingIn AddressingOut Attachments Base64LineBreaks
BodyId BodyXmlId ContentId ContentLocation
FaultAddressing FaultHeaders HeadersIn HeadersOut
ImportHandler IsMTOM Location MTOMRequired
MsgClass OutputTypeAttribute Password RMSession
ReferencesInline RequestMessageStart ResponseAttachments ResponseContentId
ResponseContentLocation SAXFlags SecurityContextToken SecurityIn
SecurityNamespace SecurityOut SessionCookie SoapFault
SoapVersion Timeout Transport Username
WriteSOAPBodyMethod

Methods
%AddEnvelopeNamespace %AddToSaveSet %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%Extends %GetParameter %IsA %IsModified
%New %NormalizeObject %ObjectModified %OnCreateRMSession
%OriginalNamespace %PackageName %RemoveFromSaveSet %SerializeObject
%SetModified %ValidateObject CacheEventSink ConvertParameter
Decrypt Encrypt EscapeHTML EscapeURL
FileWSDL GetBodyId HyperEventCall HyperEventHead
Include Initialize InsertHiddenField InsertHiddenFields
IsPrivate Link MakeFault MakeFault12
MakeSecurityFault MakeStatusFault NormalizeName OnCancelSecureConversation
OnPageError OnPostHTTP OnPostHyperEvent OnPostWebMethod
OnPreHyperEvent OnPreWebMethod OnRequestMessage OnSOAPRequest
OnStartSecureConversation Page Process ProcessBinary
ProcessBody ProcessBodyNode QuoteJS Reset
ReturnFault ReturnOneWay RewriteURL ShowError
StartTimer StopTimer ThrowError UnescapeHTML
UnescapeURL WSAddSignatureConfirmation


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 [ WebMethod ]
Example service for a CacheEventSink