ADU.SetOneValue

Returns

VESP_SUCCESS Request was successful.

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:

aduidtermination

transfercountduration

createtimeupdate_time

endtime

Setting values can generate watch, change, and drop events.

Input Parameters

aduid

Agent Data Unit Identifier.

name

The name of the ADU element to change or

 

create.

value

The value to be set.

Returns

VESP_SUCCESS

Request was successful.

VESP_ERROR

ADU not found, or the element cannot be changed.

Issue 1.0 June 2002 63

Page 63
Image 63
Avaya DXX-1015-01 manual ADU.SetOneValue