3.1.1.3 Event System

The server has two state variables that affect the behavior of the Store, Remove, and RemoveS methods of the IEventSystem interface. The sections describing each method provide more detail. To control these variables, the SetCOMCatalogBehavior method of the IEventSystemInitialize interface is used.

CatalogMode: When this Boolean variable is TRUE, the server is in catalog mode. In this mode, the only objects that can be modified are transient subscriptions. By default, this variable is FALSE and the server is in non-catalog mode.

RetainSubKeys: This Boolean variable can be TRUE only if the server is in catalog mode. This variable affects the behavior of the Store method of the IEventSystem interface. If this variable is TRUE, any properties within the PublisherProperties or SubscriberProperties of the existing object are retained and are not deleted, even if they do not exist within the new object. When the variable is FALSE, the PublisherProperties and SubscriberProperties of the new object replace the PublisherProperties and SubscriberProperties of the existing object.