Avaya DXX-1015-01 manual ADU.SetValuesExtended

Page 64

Chapter 7 ADU Server Methods

C Program Example

/*Set one value. */

status = Vesp_Request( "ADU.SetOneValue", callback, 0x2132, session, aduid, "my_favorite_element", "new value" );

ADU.SetValues

IDL Syntax ORBStatus SetValues( in ADU_ID aduid, in SeqCouple values );

Description This method sets one or more ADU data elements. Data elements that do not exist are created. Existing elements are updated if permission allows.

The following fields are restricted and cannot be changed by applications:

aduidtermination

transfercountduration

createtimeupdate_time

endtime

Setting values can generate watch, change, and drop events.

Input Parameters

aduid

Agent Data Unit Identifier.

values

A sequence containing ADU information, not to exceed 1023 values.

Returns

VESP_SUCCESS

Request was successful.

VESP_ERROR

ADU not found or values not able to be set.

C Program Example

/* Example of an initialized sequence with fixed values: */ status = Vesp_Request( "ADU.SetValues", callback, 0x2132,

session, aduid, &values );

ADU.SetValuesExtended

IDL Syntax ORBStatus SetValuesExtended( in ADU_ID aduid, in SeqCouple data, out SeqString newnames) ;

Description This function performs a SetValues method, but in addition returns a parallel list of names that it created while resolving container names. For example, if the data SeqCouple contained two names, agent.!.x and data.+, the newnames list might be returned containing agent.2.x and data.4.

64 Agent Data Unit Server Programmer’s Guide

Image 64
Contents Avaya Interaction Center Acknowledgment Contents Contents Agent Data Unit Server Programmer’s GuideBefore YOU Begin Typographical ConventionsContacting Technical Support Font Type MeaningReadme File Product DocumentationElectronic Documentation Educational Services Educational ServicesIssue 1.0 June 2002 Printed DocumentationAgent Data Unit Server Programmer’s Guide Chapter ADU Server Start-up ProceduresOverview Cooperation of ADU Servers ADU ServerChapter Agent Data Unit Definition of an ADUADU Lifecycle ADU CreationADU Termination Listing Active ADUsAgent Data Unit Bytes Example Description Contents AduidADU Data Table 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 SyntaxContainer Configurations Parameter Type Default DescriptionADU.Update VDU.Update 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 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 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.FindOrCreate ADU.ForceTerminateADU.ForwardEvent 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