Getting a Session's Operations

ostc_Session::getOperations()

virtual ostc_OperationSet* getOperations() ;

Returns a pointer to an ostc_OperationSet containing the operations supported by this service.

ostc_Session::getOperation()

virtual ostc_Operation* getOperation(
      const char* operation_name
) ;

Returns a pointer to the operation that is named operation_name and supported by this service. Returns 0 if there is no such operation.

Click here for an example.



[previous] [next]