This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions pageOpens in a new window (login required).

Caché & Ensemble 2018.1.5Opens in a new window > Class Reference > %SYS namespace > %Library.ServerEvent

%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 (Including Private)

Methods (Including Private)

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