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

%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.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3


Summary


Methods
%OnConnect %OnTranCommit %OnTranRollback


Methods


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