This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB 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

Methods

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