Avaya DXX-1015-01 manual Methods, ADU.Assign, ADU.Create

Page 48

Chapter 7 ADU Server Methods

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

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.)

Returns

VESP_SUCCESS

Request was successful..

VESP_ERROR

Request was unsuccessful.

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

values

Initial values of the ADU, not to exceed 1023 values.

48 Agent Data Unit Server Programmer’s Guide

Image 48
Contents Avaya Interaction Center Acknowledgment Contents Contents Agent Data Unit Server Programmer’s GuideBefore YOU Begin Typographical ConventionsContacting Technical Support Font Type MeaningProduct Documentation Readme FileElectronic Documentation Educational Services Educational ServicesIssue 1.0 June 2002 Printed DocumentationAgent Data Unit Server Programmer’s Guide Start-up Procedures Chapter ADU ServerOverview Cooperation of ADU Servers ADU ServerChapter Agent Data Unit Definition of an ADUADU Lifecycle ADU CreationListing Active ADUs ADU TerminationAgent Data Unit Bytes Example Description Contents AduidADU Data Table AduidADU Contents ADU Contents Core ADU FieldsField Name Description Set By Agent ADU Fields Description Set BySheet 1 Sheet 2 Sheet 3 Voice Data Containers Sheet 4Value Explanation Queue ADU Fields Following ADU fields are used by queues on Avaya ICContainers ContainersContainer Names and Special Tokens Containername .!loginid Limitations of Container SyntaxContainer Configurations Parameter Type Default DescriptionADU.Update VDU.Update ADU.Create VDU.CreateEDU Values written if tscon is set to true Agent Data Unit Chapter Event Monitoring ADU Event MonitoringDescription Message Starting and Stopping Event Monitoring Event MonitoringSetting Event Monitoring Criteria Setting Event Monitoring CriteriaMonitoring Criteria Syntax Example ADU.Assign loginid=Joe & ts.1.s=wrapup Symbol Definition Description Relational OperatorsBoolean Operators Monitoring Criteria WildcardsWildcard Definition Example Monitoring Criteria Examples Criteria Example DescriptionEvent Monitoring Agent Data Unit Server Programmer’s Guide Chapter Alarms Priority Description Cause/Recommended ActionAlarms Chapter ADU Server Configuration Configuration ParametersSystem Considerations ADU Server Alias NameADU Server Configuration Configuration Parameters Sheet 4 Set them on the Config tab of the ADU Server Editor dialog Name DescriptionADU Server Configuration Chapter IDL Specification IDL Specification Chapter ADU Server Methods Method ObjectivesException Information Routing Requests Method OverviewADU Server Methods Method Overview Methods ADU.AssignADU.Create ADU.Deassign ADU.DeleteOneValueADU.Deassign ADU.DeleteSubTree ADU.DeleteValuesADU.EventsIn ADU.FindADU.EventsIn ADU.FindByKey Locate an ADU having a key containingADU.FindOrCreate ADU.ForceTerminateADU.ForwardEvent ADU.FindOrCreateADU.GetActive ADU.GetOneValueADU.GetSomeValues ADU.GetSubTreeADU.GetSomeValues ADU.GetValues ADU.GetValueHistoryADU.GetValuesHistory ADU.GetValuesHistoryFirst value that was set was truth ADU.IncrValue ADU.MonitorADU.IncrValue ADU.RemoteWatcher ADU.SetAndTerminateADU.SetDefaultHistoryFilter ADU.SetAndTransferADU.SetAndTransfer ADU.SetHistoryFilter Hsnostart Hsnochange Hsnotransfer Hsnouser HsnodeleteADU.SetOneValue ADU.SetOneValueADU.SetValues ADU.SetValuesExtendedADU.Suspend ADU.TerminateADU.Suspend ADU.TerminateMine ADU.TouchADU.Transfer ADU.TransferADU Server Methods Agent Data Unit Server Programmer’s Guide Symbols IndexIndex AduidIssue 1.0 June 2002 Index Index Index Agent Data Unit Server Programmer’s Guide