Avaya DXX-1015-01 Server User Manual


 
ADU.SetOneValue
Issue 1.0 June 2002 63
Returns
C Program Example
Vesp_Request_Sync(
"ADU.SetHistoryFilter", /* method identification */
&ev, /* environment pointer */
session, /* session object */
&request, /* pntr to pntr to request structure */
aduid, /* an ADU id */
HS_NOUSER /* The permission bit to be set
for this ADU */ );
/* check ev for errors as needed */
Vesp_Request_Delete(session, request);
ADU.SetOneValue
IDL Syntax ORBStatus SetOneValue( in ADU_ID aduid, in string name, in string value ) ;
Description This method sets one ADU data element. An element that does not exist is created. An element
that exists is overwritten if permission allows.
The following fields are restricted and cannot be changed by applications:
Setting values can generate watch, change, and drop events.
Input Parameters
Returns
VESP_SUCCESS Request was successful.
aduid termination
transfercount duration
createtime update_time
endtime
aduid Agent Data Unit Identifier.
name The name of the ADU element to change or
create.
value The value to be set.
VESP_SUCCESS Request was successful.
VESP_ERROR ADU not found, or the element cannot be changed.