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

AttachTo

Set AttachTo to include the objects whose events you wish to handle.

OnAction

Determines which system object events will be handled.

OnAliasAdd

Event called when an alias is added.

OnAliasDelete

Event called when an alias is deleted.

OnAliasGetList

Event called when client requests alias list.

OnAliasGetPath

Event called when client requests alias path.

OnAliasModify

Event called when an alias is modified.

OnCloseInactiveFolders

Event called when client calls CloseInactiveFolders.

OnCloseInactiveTables

Event called when client calls CloseInactiveTables.

OnCreate

Event called when an object is created.

OnDestroy

Event called when an object is destroyed.

OnGetRegisteredClassList

Event called when a list of registered common classes is retrieved.

OnRecordDelete

Event called when a client deletes a record.

OnRecordGet

Event called when a client reads a record.

OnRecordInsert

Event called when a client inserts a record.

OnRecordModify

Event called when a client modifies a record.

OnTableAddIndex

Event called when an index is added.

OnTableBuild

Event called when a table is created.

OnTableDelete

Event called when a table is deleted.

OnTableDropIndex

Event called when an index is dropped.

OnTableEmpty

Event called when a table is emptied.

OnTableExists

Event called when a client calls table.Exists.

OnTableGetDictionary

Event called when a client gets a table dictionary.

OnTableGetList

Event called when a client requests a list of tables.

OnTablePack

Event called when a table is packed.

OnTableRebuildIndex

Event called when a table index is rebuilt.

OnTableRecover

Event called when a client calls table.RecoverRecords.

OnTableRename

Event called when a table is renamed.

OnTableRestructure

Event called when a table is restructured.

OnTransactionCommit

Event called when a transaction is commited.

OnTransactionRollback

Event called when a transaction is rolled back.

OnTransactionStart

Event called when a transaction starts.

 
File

 
nxsdSimpleMonitor

Home | Site Contents | Documentation | NexusDB Manual V4 | Class Reference | Symbol Reference | Classes