Setting and Getting Result IDs

ostc_OperationResult::setOID()

void setOID(ostc_OID *);

Returns a pointer to the OID of this. Returns 0 if the OID has not been set.

ostc_OperationResult::getOID()

ostc_OID* getOID();

Sets the OID of this.

ostc_ApplicationServer

You can use members of this class to create a custom component server that manages start-up and shutdown of ObjectStore Component Servers. This class provides members for the following tasks:

Do not call these functions from your implementation of Server API functions.

A minimal custom server can be coded as follows:

#include <ostc/ostcappsrvr.h>
main(int argc, char** argv)
{
      ostc_ApplicationServer * server = 
            new ostc_ApplicationServer(argc, argv);

      server->start();

      sleep();
}


[previous] [next]