Avaya DXX-1015-01 manual First value that was set was truth

Page 58

Chapter 7 ADU Server Methods

For example, field quark was set twice, once at ADU creation (11:37:00am, by Scott, to “truth”) and again at ADU transfer (11:38:00, by Jane, to “charm”). Specifying flags = ADU_GSGETTIME ADU_GSGETVALUE ADU_GSGETWHO would yield:

header[0] = ADU_GSGETVALUE;

//first subelement is the text

header[1] = ADU_GSGETTIME;

//second is time

header[2] = ADU_GSGETWHO;

//third is who

names[?] = “quark”;

//one of the names returned will be quark

values[?][0][0] = “truth”;

//values[13] is parallel to names[13], and the

 

//first value that was set was “truth”

values[?][0][1] = “8145264302”;

//the time_t it was set (11:37:00am)

values[?][0][2] = “Scott”;

//Scott set it

values[?][1][0] = “charm”;

//next value set was “charm”

values[?][1][1] = “8145264362”;

//set at this time

values[?][1][2] = “Jane”;

//by this loginid

Input Parameters

aduid

An ADUID of an existing ADU.

flags

One or more of the ADU_GSGET flags, OR'd together.

 

Flags are:

 

#define ADU_GSGETVALUE 0x01

 

#define ADU_GSGETTIME 0x02

 

#define ADU_GSGETWHO 0x04

Output Parameters

headers

A list of ADU_GSGET values.

names

A list of ADU data names.

values

A list of data values (one per name), which are lists of value histories

 

(one per value), which are lists of fields (text, when, and who).

Returns

VESP_SUCCESS

Request was successful.

VESP_ERROR

ADUID was not found.

58 Agent Data Unit Server Programmer’s Guide

Image 58
Contents Avaya Interaction Center Acknowledgment Contents Contents Agent Data Unit Server Programmer’s GuideContacting Technical Support Before YOU BeginTypographical Conventions Font Type MeaningReadme File Product DocumentationElectronic Documentation Issue 1.0 June 2002 Educational ServicesEducational Services Printed DocumentationAgent Data Unit Server Programmer’s Guide Chapter ADU Server Start-up ProceduresOverview Cooperation of ADU Servers ADU ServerADU Lifecycle Chapter Agent Data UnitDefinition of an ADU ADU CreationADU Termination Listing Active ADUsAgent Data Unit ADU Data Table Bytes Example Description ContentsAduid AduidADU Contents Core ADU Fields ADU ContentsField Name Description Set By Description Set By Agent ADU FieldsSheet 1 Sheet 2 Sheet 3 Sheet 4 Voice Data ContainersValue Explanation Queue ADU Fields Following ADU fields are used by queues on Avaya ICContainers ContainersContainer Names and Special Tokens Containername .!loginid Limitations of Container SyntaxADU.Update VDU.Update Container ConfigurationsParameter Type Default Description ADU.Create VDU.CreateEDU Values written if tscon is set to true Agent Data Unit ADU Event Monitoring Chapter 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 OperatorsMonitoring Criteria Wildcards Boolean OperatorsWildcard Definition Example Monitoring Criteria Examples Criteria Example DescriptionEvent Monitoring Agent Data Unit Server Programmer’s Guide Chapter Alarms Priority Description Cause/Recommended ActionAlarms System Considerations Chapter ADU Server ConfigurationConfiguration Parameters 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 Method Objectives Chapter ADU Server MethodsException Information Method Overview Routing RequestsADU Server Methods Method Overview ADU.Assign MethodsADU.Create ADU.DeleteOneValue ADU.DeassignADU.Deassign ADU.DeleteSubTree ADU.DeleteValuesADU.Find ADU.EventsInADU.EventsIn ADU.FindByKey Locate an ADU having a key containingADU.ForwardEvent ADU.FindOrCreateADU.ForceTerminate ADU.FindOrCreateADU.GetActive ADU.GetOneValueADU.GetSubTree ADU.GetSomeValuesADU.GetSomeValues ADU.GetValues ADU.GetValueHistoryADU.GetValuesHistory ADU.GetValuesHistoryFirst value that was set was truth ADU.Monitor ADU.IncrValueADU.IncrValue ADU.RemoteWatcher ADU.SetAndTerminateADU.SetAndTransfer ADU.SetDefaultHistoryFilterADU.SetAndTransfer ADU.SetHistoryFilter Hsnostart Hsnochange Hsnotransfer Hsnouser HsnodeleteADU.SetOneValue ADU.SetOneValueADU.SetValues ADU.SetValuesExtendedADU.Terminate ADU.SuspendADU.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