Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%Library] >  [ServerEvent]
Private  Storage   

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.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3


Summary

Methods
%OnConnect %OnTranCommit %OnTranRollback


Methods

• classmethod %OnConnect()
• classmethod %OnTranCommit()
• classmethod %OnTranRollback()


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.