Adding Components to a Server

ostc_ApplicationServer::ostc_ApplicationServer()

ostc_ApplicationServer(
      oscs * framework,
      oscs_String * plugin_names,
      oscs_Uint32 num_plugins,
      oscs_String service_name,
      ostc::transaction_type txntype
);

Adds the components named in plugin_names to the Server associated with framework. ostc_ApplicationServer::getFramework() returns a Server's associated framework.

ostc_ApplicationServer::getFramework()

oscs * getFramework();

Returns the instance of oscs associated with this. Use this function in conjunction with ostc_ApplicationServer::ostc_ApplicationServer() to add a component to a Server.



[previous] [next]