Carapace

Building a Communications Stack

The simplest way to build a comms stack is to use the script function buildCommsStack. If you need to build a comms stack and dynamically configure the modules on it at runtime, then you can build it by hand using the CommsStack class. For an example, look at the script core.cpl which defines the buildCommsStack function.

Function: buildCommsStack

This function takes a single argument -- the name of the Service to connect to -- and builds a stack from the configured information.

Arguments:

serviceName name of the Service

Result: A configured CommsStack is returned. The configuration is read from the system registry.

Script: core.cpl


Contents Index Current topic: communications Related topics: communications classes, objects