Adu.getsomevalues, Adu.getsubtree – Avaya Interaction Center DXX-1015-01 User Manual

Page 55

Advertising
background image

ADU.GetSomeValues

Issue 1.0 June 2002

55

Returns

C Program Example

Get the value of “myfavoriteelement” from the ADU named by aduid.

char *value;

status = Vesp_Request( "ADU.GetOneValue", callback, 0x2132, session,

aduid, "myfavoriteelement", &value );

ADU.GetSomeValues

IDL Syntax

ORBStatus GetSomeValues( in ADU_ID aduid, in string name,

out SeqCouple matches) ;

Description

This function returns all names and values matching a container name. It is one of the few that
accepts the * token. Thus, a name of data.*.emergency returns names such as data.1.emergency,
data.brian.emergency, and so on.

Input Parameters

Output Parameters

ADU.GetSubTree

IDL Syntax

ORBStatus GetSubTree( in ADU_ID aduid, in string name,

out SeqCouple matches) ;

Description

This function returns all names and values in the subcontainer named by name. It can be given a
container name (ts) or a subcontainer name (ts.1) and returns all names and values from that point
down.

Input Parameters

VESP_SUCCESS

Request was successful.

VESP_ERROR

ADUID or name not found.

aduid

An ADUID.

name

A name. By intent, a container name.

matches

All names and values in that container.

aduid

An ADUID.

name

A name. By intent, a container or subcontainer name.

Advertising