Setting Operation Formal Parameters
ostc_ServerOperation::addArgument()
void addArgument(
oscs_ConstString name,
ostc::types type,
oscs_Uint32 maxlength = 0
);
Adds an argument named name to the end of the list of arguments of this operation. The argument's type is specified by type.
If type is ostc_string, maxlength specifies the argument's maximum length. Actual argument values are truncated when necessary to adhere to this maximum. If type is not ostc_string, maxlength is ignored.
See also ostc_OperationResult::getArguments().
ostc_ServerOperation::addReturnSetAttribute()
void addReturnSetAttribute(
oscs_ConstString name,
ostc::types type,
oscs_Uint32 maxlength = 0
);
Adds an attribute named name to the end of the list of attributes of objects returned by this operation. The attribute's value type is specified by type.
If type is ostc_string, maxlength specifies the attribute's maximum length. Actual attribute values are truncated when necessary to adhere to this maximum. If type is not ostc_string, maxlength is ignored.
See also ostc_OperationResult::GetReturnedObjectAttributes().
[previous] [next]