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

Page 51
Image 51
Avaya DXX-1015-01 manual ADU.EventsIn, ADU.Find