Adu.setandtransfer, Adu.setdefaulthistoryfilter – Avaya Interaction Center DXX-1015-01 User Manual

Page 61

Advertising
background image

ADU.SetAndTransfer

Issue 1.0 June 2002

61

ADU.SetAndTransfer

IDL Syntax

ORBStatus SetAndTransfer( in ADU_ID aduid, in string to,

in SeqCouple values ) ;

Description

This method combines SetValues and Transfer into a single call, as these operations often occur
together. If the operation succeeds, it generates a Change event containing all changes made to the
ADU. This operation is usually performed by Avaya IC components, not client software.

Input Parameters

Returns

C Program Example

/*Transfer an ADU. */

char *to;

_IDL_SEQUENCE_Couple *values;

/* init an empty, unlimited sequence of Couples */

seq_couple = vesp_couple_seq_create();

/* fill in the field for the new ADU entry */

vesp_couple_seq_add_couple_values( seq_couple,"loginid",

"meritha" );

to = ORB_object_to_string( VESP_ORB, &environment,

to_object);

status = Vesp_Request( "ADU.SetAndTransfer", callback, 0UL,

session, aduid, to, seq_couple );

vesp_couple_seq_delete( seq_couple );

ADU.SetDefaultHistoryFilter

IDL Syntax

void SetDefaultHistoryFilter( in unsigned long mask ) ;

Description

This method is reserved. Client applications should not call this method.

aduid

Agent Data Unit Identifier.

to

A string representing the receiving client.

values

A list of names and values to apply to the ADU, not to exceed 1023.

VESP_SUCCESS

Request was successful.

VESP_ERROR

ADU not found, set failed, or client not a valid string.

Advertising