Training
×

Example of a Class

This is an example of a class, derived from CIDataMbxThread. When created, a new INtime thread is created, which itself creates a data mailbox and catalogs it with the name "Server1". Every time a message is received, the function OnReceive is called to deal with the message. All further housekeeping (including deleting the data mailbox and removing it from the object directory) is done by the base class.