Avaya DXX-1015-01 manual ADU.EventsIn, ADU.Find

Page 51

ADU.EventsIn

ADU.EventsIn

IDL Syntax ONEWAY EventsIn(in string vdu_id, in SeqEvent events);

Description This function adds a user-defined ADU event to an ADU. Values in the ADU are updated to reflect the names and values in the event.

Input Parameters

aduid

Agent Data Unit Identifier.

event

The event information. Each event must include an event name to

 

describe the event. Requests without an event name are rejected.

Returns No return value. One way requests do not have any returns.

C Program Example

Event *event;

/* Create space for record */

event = vesp_event_create( "Update" );

vesp_event_add_couple( event, "name1", "value1" );

/* Create the new ADU History event entry */

status = Vesp_Request( " ADU.EventsIn", callback, 0x2132, session, aduid, event );

/* release memory we allocated */ vesp_event_delete( event );

ADU.Find

IDL Syntax ORBStatus Find( in string search_criteria, in unsigned long scope, out SeqString matches ) ;

Description This method returns a list of ADUIDs that match a simple criterion. The ADUs found may be active in the local ADU Server or in other WAN ADU Servers, depending on the setting in scope.

The criteria can be any expression an Assign method would accept.

The Find method, especially one distributed across the WAN, can take time, as it cannot reply until it receives a response from all the other servers it contacts and combines the lists it receives. A WAN-wide search proceeds in parallel across all involved ADU Servers, but the speed is still limited to the speed of the slowest single search. In the worst case, the request may start other servers that had not been started yet, which can entail a significant delay.

Issue 1.0 June 2002 51

Image 51
Contents Avaya Interaction Center Acknowledgment Contents Agent Data Unit Server Programmer’s Guide ContentsFont Type Meaning Before YOU BeginTypographical Conventions Contacting Technical SupportProduct Documentation Readme FileElectronic Documentation Printed Documentation Educational ServicesEducational Services Issue 1.0 June 2002Agent Data Unit Server Programmer’s Guide Start-up Procedures Chapter ADU ServerOverview ADU Server Cooperation of ADU ServersADU Creation Chapter Agent Data UnitDefinition of an ADU ADU LifecycleListing Active ADUs ADU TerminationAgent Data Unit Aduid Bytes Example Description ContentsAduid ADU Data TableADU 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 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 Chapter Event Monitoring ADU 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 DescriptionBoolean Operators Monitoring Criteria WildcardsWildcard 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 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.DeleteValues ADU.DeleteSubTreeADU.EventsIn ADU.FindADU.EventsIn Locate an ADU having a key containing ADU.FindByKeyADU.FindOrCreate ADU.FindOrCreateADU.ForceTerminate ADU.ForwardEventADU.GetOneValue ADU.GetActiveADU.GetSomeValues ADU.GetSubTreeADU.GetSomeValues ADU.GetValueHistory ADU.GetValuesADU.GetValuesHistory ADU.GetValuesHistoryFirst value that was set was truth ADU.IncrValue ADU.MonitorADU.IncrValue ADU.SetAndTerminate ADU.RemoteWatcherADU.SetDefaultHistoryFilter ADU.SetAndTransferADU.SetAndTransfer Hsnostart Hsnochange Hsnotransfer Hsnouser Hsnodelete ADU.SetHistoryFilterADU.SetOneValue ADU.SetOneValueADU.SetValuesExtended ADU.SetValuesADU.Suspend ADU.TerminateADU.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