Avaya DXX-1015-01 用户手册

下载
页码 74
ADU.Deassign
Issue 1.0 June 2002
49
Output Parameters
Returns
C Program Example
_IDL_SEQUENCE_Couple *seq_couple;
ADU_ID aduid; /* receives the id of the created ADU */
/* Create space for values */
seq_couple = vesp_couple_seq_create();
/* fill in the field for the new ADU entry */
vesp_couple_seq_add_couple_values( seq_couple,
"name1", "value1" );
vesp_couple_seq_add_couple_values( seq_couple,
"name2", "value2" );
vesp_couple_seq_add_couple_values( seq_couple,
"name3", "value3" );
/* Create the new ADU */
status = Vesp_Request( "ADU.Create", callback, 0x2132, session,
seq_couple, &aduid );
vesp_couple_seq_delete( seq_couple );
ADU.Deassign
IDL Syntax
ORBStatus Deassign( ) ;
Description
Destroy a session with an ADU Server. When a session is deassigned, the flow of events from the 
ADU Server to the client ceases. Events may continue to arrive until the response for this method 
is received. It is not an error to deassign when no session exists.
Returns
ADU.DeleteOneValue
IDL Syntax
ORBStatus DeleteOneValue( in ADU_ID aduid, in string name) ; 
Description
This is equivalent to DeleteValues with a single name.
aduid 
Agent Data Unit Identifier.
VESP_SUCCESS 
Request was successful.
VESP_ERROR
Internal error in ADU Server.
VESP_SUCCESS 
Request was successful.