00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _XMLCOMPONENT_IDL_
00023 #define _XMLCOMPONENT_IDL_
00024
00025 #include <xmlentity.idl>
00026 #include <acscomponent.idl>
00027 #include <JContExmplErrTypeTest.idl>
00028
00029 #pragma prefix "alma"
00030
00031 module demo
00032 {
00033
00034 typedef xmlentity::XmlEntityStruct ObsProposal;
00035 typedef xmlentity::XmlEntityStruct SchedBlock;
00036 typedef sequence <SchedBlock> SchedBlockSeq;
00037
00038
00039 struct ObsProjectTree
00040 {
00041
00042 ObsProposal prop;
00043 SchedBlockSeq schedBlocks;
00044 };
00045
00046
00047
00048
00049 interface XmlComponent : ACS::ACSComponent
00050 {
00051 long dumbMethod(in string somevalue);
00052
00053 ObsProposal createObsProposal();
00054
00055 SchedBlock getBestSchedBlock();
00056
00057 SchedBlockSeq getAllSchedBlocks();
00058
00059 void addNewSchedBlocks(in SchedBlockSeq newSchedBlocks);
00060
00061 void xmlInOutMethod(in ObsProposal opsPropIn,
00062 out SchedBlock schedBlockOut);
00063
00064 ObsProjectTree getEntireTreeInAStruct();
00065
00066
00067 string sayHello();
00068
00069
00070 void exceptionMethod() raises (JContExmplErrTypeTest::XmlComponentErrorEx);
00071 };
00072 };
00073
00074 #endif