Creating and Deleting Server Operations

ostc_ServerOperation::ostc_ServerOperation()

ostc_ServerOperation(
      oscs_ConstString name,  
      ostc::transaction_type type)
);

Creates an ostc_ServerOperation with the specified name. When you define a subtype of ostc_ServerOperation, you must pass the operation name and transaction type to this constructor.This name is used to identify the operation when you invoke execute().

ostc_ServerOperation::~ostc_ServerOperation()

virtual ~ostc_ServerOperation();

Frees memory associated with this operation object.

ostc_OperationResult

Instances of this class represent operation results in the form of C++ objects. The Server calls ostc_ServerOperation::format() on each C++ object to convert the results to ostc_Objects. The class provides functions for



[previous] [next]