Chapter 7 ADU Server Methods
48 Agent Data Unit Server Programmer’s Guide
Methods
The following sections describe the ADU Server methods.
ADU.Assign
IDL Syntax ORBStatus Assign( in string monitorcriteria ) ;
Description Create a session with the ADU Server. When a session is created, events are sent to the assigned
Avaya IC client.
When multiple ADU Servers are in use, Assigns watch all calls in the domain of the ADU Servers
and notify the client with events when they occur. This makes Assign a relatively expensive
operation. Design clients so they only need to Assign once to specify the ADUs in which they are
interested. Assigning to multiple ADU Servers is unnecessary and causes numerous problems.
(Refer to “Cooperation of ADU Servers,” on page 10 for additional information.)
Input Parameters
Returns
C Program Example
status = Vesp_Assign_Request( "ADU.Assign", callback, user_data,
event_callback, session, "loginid=user" );
ADU.Create
IDL Syntax ORBStatus Create( in SeqCouple values, out ADU_ID aduid ) ;
Description This method creates a new ADU. This function is usually performed by the Toolkit and is hidden
from normal application development. The ADU Server sets the creation timestamp and ADUID.
Input Parameters
monitorcriteria Information used to select ADUs for monitoring. If values contain
anything other than letters and numbers (for example, spaces), they
should be enclosed in double quotes, and \ or " characters must be
quoted by a \ character. (Refer to “Starting and Stopping Event
Monitoring,” on page 28 and “Setting Event Monitoring Criteria,” on
page 29.)
VESP_SUCCESS Request was successful..
VESP_ERROR Request was unsuccessful.
values Initial values of the ADU, not to exceed 1023 values.