theLink 10.0
Loading...
Searching...
No Matches
MqMsgque_Item_CC_API

MqMsgque PACKAGE - the package-item is a class-object and must use the MqContextC as the base-class

+ Collaboration diagram for MqMsgque_Item_CC_API:

MqMsgque PACKAGE - the package-item is a class-object and must use the MqContextC as the base-class

  1. One package-item has all the code and services required to define one application-feature.
  2. An application-feature can be a database or a gui-frontend or just an internal logic-interface.
  3. Multiple package-items define an application with each package-item assigned to one specific factory-item.

A factory-item is created with:

[constructor,static]  MqFactoryC* MqFactoryC::Add(‹template class› constructor, MK_STRN ident = NULL) 

Example from perfserver.cc Create a factory-item from the "perfserver" package-item

  // create "perfserver" factory… and make it to the default.
  MqFactoryCT<perfserver>::Add("perfserver")->Default();

Read more about the usage of the factory-item at: MqFactoryC.