Avaya DXX-1015-01 manual ADU.GetSomeValues, ADU.GetSubTree

Page 55

ADU.GetSomeValues

Returns

VESP_SUCCESS

Request was successful.

VESP_ERROR

ADUID or name not found.

C Program Example

Get the value of “myfavoriteelement” from the ADU named by aduid.

char *value;

status = Vesp_Request( "ADU.GetOneValue", callback, 0x2132, session, aduid, "myfavoriteelement", &value );

ADU.GetSomeValues

IDL Syntax ORBStatus GetSomeValues( in ADU_ID aduid, in string name, out SeqCouple matches) ;

Description This function returns all names and values matching a container name. It is one of the few that accepts the * token. Thus, a name of data.*.emergency returns names such as data.1.emergency, data.brian.emergency, and so on.

Input Parameters

aduid

An ADUID.

name

A name. By intent, a container name.

Output Parameters

matches

All names and values in that container.

ADU.GetSubTree

IDL Syntax ORBStatus GetSubTree( in ADU_ID aduid, in string name,

out SeqCouple matches) ;

Description This function returns all names and values in the subcontainer named by name. It can be given a container name (ts) or a subcontainer name (ts.1) and returns all names and values from that point down.

Input Parameters

aduid

An ADUID.

name

A name. By intent, a container or subcontainer name.

Issue 1.0 June 2002 55

Image 55
Contents Avaya Interaction Center Acknowledgment Contents Agent Data Unit Server Programmer’s Guide ContentsFont Type Meaning Before YOU BeginTypographical Conventions Contacting Technical SupportReadme File Product DocumentationElectronic Documentation Printed Documentation Educational ServicesEducational Services Issue 1.0 June 2002Agent Data Unit Server Programmer’s Guide Chapter ADU Server Start-up ProceduresOverview ADU Server Cooperation of ADU ServersADU Creation Chapter Agent Data UnitDefinition of an ADU ADU LifecycleADU Termination Listing Active ADUsAgent Data Unit Aduid Bytes Example Description ContentsAduid ADU Data TableADU 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 Following ADU fields are used by queues on Avaya IC Queue ADU FieldsContainers ContainersContainer Names and Special Tokens Limitations of Container Syntax Containername .!loginidADU.Create VDU.Create Container ConfigurationsParameter Type Default Description ADU.Update VDU.UpdateEDU Values written if tscon is set to true Agent Data Unit ADU Event Monitoring Chapter Event MonitoringDescription Message Event Monitoring Starting and Stopping Event MonitoringSetting Event Monitoring Criteria Setting Event Monitoring CriteriaMonitoring Criteria Syntax Example ADU.Assign loginid=Joe & ts.1.s=wrapup Relational Operators Symbol Definition DescriptionMonitoring Criteria Wildcards Boolean OperatorsWildcard Definition Example Criteria Example Description Monitoring Criteria ExamplesEvent Monitoring Agent Data Unit Server Programmer’s Guide Priority Description Cause/Recommended Action Chapter AlarmsAlarms ADU Server Alias Name Chapter ADU Server ConfigurationConfiguration Parameters System ConsiderationsADU Server Configuration Configuration Parameters Sheet 4 Name Description Set them on the Config tab of the ADU Server Editor dialogADU 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.DeleteValues ADU.DeleteSubTreeADU.Find ADU.EventsInADU.EventsIn Locate an ADU having a key containing ADU.FindByKeyADU.FindOrCreate ADU.FindOrCreateADU.ForceTerminate ADU.ForwardEventADU.GetOneValue ADU.GetActiveADU.GetSubTree ADU.GetSomeValuesADU.GetSomeValues ADU.GetValueHistory ADU.GetValuesADU.GetValuesHistory ADU.GetValuesHistoryFirst value that was set was truth ADU.Monitor ADU.IncrValueADU.IncrValue ADU.SetAndTerminate ADU.RemoteWatcherADU.SetAndTransfer ADU.SetDefaultHistoryFilterADU.SetAndTransfer Hsnostart Hsnochange Hsnotransfer Hsnouser Hsnodelete ADU.SetHistoryFilterADU.SetOneValue ADU.SetOneValueADU.SetValuesExtended ADU.SetValuesADU.Terminate ADU.SuspendADU.Suspend ADU.Touch ADU.TerminateMineADU.Transfer ADU.TransferADU Server Methods Agent Data Unit Server Programmer’s Guide Index SymbolsAduid IndexIssue 1.0 June 2002 Index Index Index Agent Data Unit Server Programmer’s Guide