Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

%Library.ServerEvent

abstract class %Library.ServerEvent

The %ServerEvent class implements the interface for Server callbacks. Server connections can specify the name of a class derived from %ServerEvent. The server will then dispatch calls to methods implemented in that class when certain events occur in the server. Only three events dispatch calls to methods in the event class at this time. %OnConnect is called after the server has processed a new connection; %OnTranCommit is called after the server has processed a transaction commit; %OnTranRollback is called after the server has processed a transaction rollback.

Method Inventory

Methods

classmethod %OnConnect()
classmethod %OnTranCommit()
classmethod %OnTranRollback()
FeedbackOpens in a new tab