Avaya DXX-1015-01 manual Limitations of Container Syntax, Containername .!loginid

Page 23

Containers

!The ! token expands into a numeric token that belongs to the client. Tokens that belong to a given client are created via a special use of the + token. Essentially, a subcontainer created with + is assumed to belong to a caller (usually the one who created it), and the ! token will find it.

To create a subcontainer for another client, add the loginid of the client after the + token that creates it, as follows:

“agent.+jane”

Whatever number it creates, it will be matched by a request for “agent.!” by client jane.

 

If several subcontainers have been created for the same user, the ! token seeks out the

 

highest numbered (most recently created) one. If no subcontainer has been created for

 

the client, the use of ! generates an exception.

 

To find another client’s subcontainer, add the loginid of the client after the ! token:

 

containername.!loginid

null

The null token contains no characters. It matches the subcontainer most recently

 

created with the + token, regardless of who it was created for or who the caller is. This is

 

most generally useful in creating and filling a subcontainer in one method call. For

 

example, the following names given to SetValues:

 

“mydata.+”

 

“mydata..age“

 

“mydata..height”

 

would create a new, numbered subcontainer in mydata, and within that same

 

subcontainer create age and height. If mydata.+ generated mydata.3, this would

 

generate mydata.3.age and mydata.3.height.

Use of the null token should occur within the same method invocation as the use of the + token it relates to. Otherwise, some other application might use the + token within the same container and ADU, and change the meaning of the null token unexpectedly. However, if the intent is to add data to the most recently created subcontainer no matter who created it, the null token is appropriate.

*The * is permitted only within Assign methods and is described in “Monitoring Criteria: Wildcards,” on page 32.

Limitations of Container Syntax

The first token in a container name cannot be a special token.

When a * token has been used, special tokens other than * cannot be subsequently used.

Note that some methods do not permit some tokens. Most do not support * and some (GetValues and methods like it) do not (meaningfully) support +. For example, in the method invocation GetValues( “a.+.x”), the + token would be interpreted as “create the next number in the sequence,” which is not meaningful for the GetValues method, as the name being generated cannot exist yet and so cannot be read..

Issue 1.0 June 2002 23

Image 23
Contents Avaya Interaction Center Acknowledgment Contents Agent Data Unit Server Programmer’s Guide ContentsFont Type Meaning Before YOU BeginTypographical Conventions Contacting Technical SupportElectronic Documentation Product DocumentationReadme File Printed Documentation Educational ServicesEducational Services Issue 1.0 June 2002Agent Data Unit Server Programmer’s Guide Overview Start-up ProceduresChapter ADU Server ADU Server Cooperation of ADU ServersADU Creation Chapter Agent Data UnitDefinition of an ADU ADU LifecycleAgent Data Unit Listing Active ADUsADU Termination Aduid Bytes Example Description ContentsAduid ADU Data TableADU Contents Field Name Description Set By ADU ContentsCore ADU Fields Sheet 1 Agent ADU FieldsDescription Set By Sheet 2 Sheet 3 Value Explanation Voice Data ContainersSheet 4 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 Description Message Chapter Event MonitoringADU Event Monitoring Event Monitoring Starting and Stopping Event MonitoringMonitoring Criteria Syntax Setting Event Monitoring CriteriaSetting Event Monitoring Criteria Example ADU.Assign loginid=Joe & ts.1.s=wrapup Relational Operators Symbol Definition DescriptionWildcard Definition Example Boolean OperatorsMonitoring Criteria Wildcards 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 Exception Information Chapter ADU Server MethodsMethod Objectives ADU Server Methods Routing RequestsMethod Overview Method Overview ADU.Create MethodsADU.Assign ADU.Deassign ADU.DeassignADU.DeleteOneValue ADU.DeleteValues ADU.DeleteSubTreeADU.EventsIn ADU.EventsInADU.Find Locate an ADU having a key containing ADU.FindByKeyADU.FindOrCreate ADU.FindOrCreateADU.ForceTerminate ADU.ForwardEventADU.GetOneValue ADU.GetActiveADU.GetSomeValues ADU.GetSomeValuesADU.GetSubTree ADU.GetValueHistory ADU.GetValuesADU.GetValuesHistory ADU.GetValuesHistoryFirst value that was set was truth ADU.IncrValue ADU.IncrValueADU.Monitor ADU.SetAndTerminate ADU.RemoteWatcherADU.SetAndTransfer ADU.SetDefaultHistoryFilterADU.SetAndTransfer Hsnostart Hsnochange Hsnotransfer Hsnouser Hsnodelete ADU.SetHistoryFilterADU.SetOneValue ADU.SetOneValueADU.SetValuesExtended ADU.SetValuesADU.Suspend ADU.SuspendADU.Terminate 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