Implementing ostcInitialize()

ostcInitialize()

void ostcInitialize(); 

For each Server plug-in, you must implement the global function ostcInitialize(), which provides any initialization required before operations can be executed. Typical tasks for ostcInitialize() include opening databases and retrieving database roots.

The Component Server calls ostcInitialize() after ostcConnect(), when the Server first starts up.

The Server does not call this function within an ObjectStore transaction. You are responsible for using transactions to access persistent data within this function.

Click here for an example.

ostc_ServerSession

The Server API provides members of this class for performing the following tasks:



[previous] [next]