CHAPTER 6
IDL SPECIFICATION
The Interface Definition Language (IDL) is defined within CORBA standards. It is used to create interfaces that are called by client objects and provided by object implementations.
The following is the IDL description of the ADU Server. The virtual interface is inherited by both the EDU Server and the ADU Server. Several of the methods listed are specific to the ADU Server, and are therefore omitted from the method descriptions in Chapter 7.
interface genericdu virtual {
ORBStatus Create( in SeqCouple values, out stringvduid ); ORBStatus Terminate( in stringvduid );
void TerminateMine();
ONEWAY EventsIn(in string vdu_id, in SeqEvent events);
ORBStatus FindByKey( in string name, in string value, out stringvduid ); ORBStatus Find( in string search_criteria, in unsigned long, scope, out SeqString matches );
ORBStatus FindExtended( in string search_criteria, in unsigned long scope, out SeqCouple matches ); ORBStatus GetOneValue( in string vduid, in string name, out string value );
ORBStatus GetValues( in string vduid, out SeqCouple c ); ORBStatus GetActive( out SeqString vduseq );
ORBStatus SetOneValue( on string vduid, in string name, in string value ); ORBStatus SetValues( instring vduid, in SeqCouple values );
ORBStatus DeleteValue( in string vduid, in string pattern ); ORBStatus IncrValue( in string vduid, in string name, in long incr, out string newvalue );
ORBStatus Assign( in stringmonitorcriteria ); ORBStatus Monitor( in stringmonitorcriteria ); ORBStatus Transfer( in string vduid, in string to ); ORBStatus SetAndTransfer(in string vduid, in string to, in SeqCouple values );
ORBStatus GetValuesHistory( in string vduid, in unsigned long flags, out SeqLong headers, out SeqString names,
out SeqSeqSeqString values );
ORBStatus GetValueHistory( in string vduid, in string name, out SeqString values, out SeqString when,
out SeqString who );
ORBStatus GetSubTree( in string vduid, in string name, out SeqCouple matches );
ORBStatus GetSomeValues( in string vdu_id, in string name, out SeqCouple matches );
43