Chapter 7 ADU Server Methods

Description This method is reserved. ADU Servers use this method to pass events to each other. Client applications should not call this method.

ADU.GetActive

IDL Syntax

ORBStatus GetActive( out SeqADU_ID aduseq ) ;

Description

This method finds all the active ADUs at the time the call is made. Note that only ADUs currently

 

in memory are found.

 

Output Parameters

 

 

aduseq

A list of active ADUs.

Returns

 

 

 

VESP_SUCCESS

Request was successful.

C Program Example

 

 

SeqADU_ID ADU_ids;

 

 

/* Initialize a sequence of ADUs (0 specifies no limit) */

 

ADU_ids._maximum

= 0;

 

ADU_ids._length

= 0;

 

ADU_ids._buffer

= NULL;

 

status = Vesp_Request("ADU.GetActive", callback, user_data,

 

 

session, &ADU_ids );

ADU.GetOneValue

IDL Syntax ORBStatus GetOneValue( in ADU_ID aduid, in string name, out string value ) ; Description This method retrieves one value from an ADU.

Input Parameters

aduid

Agent Data Unit Identifier.

name

ADU element to be returned.

Output Parameters

value

One returned value from the ADU.

54 Agent Data Unit Server Programmer’s Guide

Page 54
Image 54
Avaya DXX-1015-01 manual ADU.GetActive, ADU.GetOneValue