• Classes
  • Namespaces
  • Files
  • Related Pages
  • File List
  • File Members

jconttest_if.idl

Go to the documentation of this file.
00001 /*
00002  *    ALMA - Atacama Large Millimiter Array
00003  *    (c) European Southern Observatory, 2002
00004  *    Copyright by ESO (in the framework of the ALMA collaboration),
00005  *    All rights reserved
00006  *
00007  *    This library is free software; you can redistribute it and/or
00008  *    modify it under the terms of the GNU Lesser General Public
00009  *    License as published by the Free Software Foundation; either
00010  *    version 2.1 of the License, or (at your option) any later version.
00011  *
00012  *    This library is distributed in the hope that it will be useful,
00013  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  *    Lesser General Public License for more details.
00016  *
00017  *    You should have received a copy of the GNU Lesser General Public
00018  *    License along with this library; if not, write to the Free Software
00019  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, 
00020  *    MA 02111-1307  USA
00021  */
00022 #ifndef _JCONTTEST_IDL_
00023 #define _JCONTTEST_IDL_
00024 
00025 #include <acscommon.idl>
00026 #include <acscomponent.idl>
00027 #include <ACSErrTypeCommon.idl>
00028 
00029 #pragma prefix "alma"
00030 
00031 // Module for test components. 
00032 // These are meant more for ACS internal tests rather than for demo purposes,
00033 // although they should be instructive at the same time.
00034 // 
00035 module jconttest
00036 {
00037         interface ContainerServicesTester : ACS::ACSComponent
00038         {
00039                 boolean testComponentName(out string compName);
00040                 boolean testStateManager(out string currStateName);
00041 
00042                 boolean testGetDynamicDummyComponent(out string compName); 
00043                 
00044                 boolean testGetReferenceWithCustomClientSideTimeout(in string compName); 
00045                 
00046                 boolean testGetDefaultIdentifierArchive(out string compName);
00047 
00048                 boolean testGetThreadFactory(in long numThreads, in long busyLoopCount, in boolean randomize);
00049                 
00054                 void testFindDummyComponentsByType(out ACS::stringSeq curls) raises (ACSErrTypeCommon::CouldntPerformActionEx);
00055                 
00061                 void testGetCollocatedComponent(in string curl, in string compType, in string targetCurl) raises (ACSErrTypeCommon::CouldntPerformActionEx);
00062                 
00070                 void testGetComponentNonSticky(in string curl, in boolean release) raises (ACSErrTypeCommon::CouldntPerformActionEx);
00071                 
00072         };
00073 
00074         
00075         interface DummyComponent : ACS::ACSComponent
00076         {
00077                 void dummyComponentsCanDoCloseToNothing();
00078                 void callThatTakesSomeTime(in long timeInMillisec);
00079         };
00080 
00084         interface DummyComponent2 : DummyComponent
00085         {
00086         };
00087 
00088 
00092         interface DummyComponentWrapper : ACS::ACSComponent
00093         {
00099                 boolean callDummyComponentWithTime(in long timeInMillisec) 
00100                         raises (ACSErrTypeCommon::CouldntPerformActionEx);
00101         };
00102 
00103 
00104         interface DataReceiver : ACS::ACSComponent
00105         {
00106                 void storeThis(in string data);
00107                 double stop();
00108         };
00109 
00110 
00114         interface ComponentWithBadNulls : ACS::ACSComponent
00115         {
00116                 enum Enum1 { MY_ONLY_VALUE }; 
00117 
00118                 struct Struct1 
00119                 {
00120                         string mystring;
00121                         Enum1 myenum1;
00122                 };
00123                 
00124                 struct Struct2
00125                 {
00126                         Struct1 mystruct1;
00127                         sequence < Struct1 > seqOfStruct1;
00128                 };
00129                 
00130                 Struct1 methodWithReturnData(in string instring, in Struct1 instruct1,
00131                                                 inout string inoutstring, inout Struct1 inoutstruct1, 
00132                                                 out string outstring, out Struct1 outstruct1);
00133         };
00134         
00135 };
00136 
00137 #endif 

Generated on Thu Jan 12 2012 23:13:14 for ACS-10.0 IDL interfaces by  doxygen 1.7.0