The context is a instance from a subclass of MqContextC …
The context is a instance from a subclass of MqContextC …
The constructor require a tmpl argument with default "MK_NULL"
Example from example_code.tcl
→ setup a server called MyServer
with one service MYTO
::oo::class create MyServer { superclass MqContextC ... <constructor> {{tmpl ""}} { next $tmpl my ConfigSetServerSetup serverSetup ... } method serverSetup {} { my ServiceCreate "MYTO" myService ... } ... } # package-main tclmqmsgque::Main { ... # create "MyServer" factory... and make it to the default. set fct [[MqFactoryC Add MyServer] Default] ... }