Declaration
TnxSimpleMonitor = class(TnxCustomSimpleMonitor)
Description
The SimpleMonitor monitors system events and allows you to:
· | react to them |
· | detect if they were successful or not |
· | selectively abort the event |
To use, place the component on your custom server datamodule, hook the ServerEngine property to the TnxServerEngine on the datamodule, and set AttachTo to include the objects whose events you wish to handle.
There are two ways of hooking the events: either use the catch-all OnAction event, which is called for every event, or use the separate event handlers for each system event type.
See Also
AttachTo, TnxServerEngine, OnAction
Properties
Set AttachTo to include the objects whose events you wish to handle.
Determines which system object events will be handled.
Event called when an alias is added.
Event called when an alias is deleted.
Event called when client requests alias list.
Event called when client requests alias path.
Event called when an alias is modified.
Event called when client calls CloseInactiveFolders.
Event called when client calls CloseInactiveTables.
Event called when an object is created.
Event called when an object is destroyed.
Event called when a list of registered common classes is retrieved.
Event called when a client deletes a record.
Event called when a client reads a record.
Event called when a client inserts a record.
Event called when a client modifies a record.
Event called when an index is added.
Event called when a table is created.
Event called when a table is deleted.
Event called when an index is dropped.
Event called when a table is emptied.
Event called when a client calls table.Exists.
Event called when a client gets a table dictionary.
Event called when a client requests a list of tables.
Event called when a table is packed.
Event called when a table index is rebuilt.
Event called when a client calls table.RecoverRecords.
Event called when a table is renamed.
Event called when a table is restructured.
Event called when a transaction is commited.
Event called when a transaction is rolled back.
Event called when a transaction starts.
File