00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 package cast.interfaces;
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 public final class _ComponentFactoryDelM extends Ice._ObjectDelM implements _ComponentFactoryDel
00024 {
00025 public String
00026 getVersionString(java.util.Map<String, String> __ctx)
00027 throws IceInternal.LocalExceptionWrapper
00028 {
00029 IceInternal.Outgoing __og = __handler.getOutgoing("getVersionString", Ice.OperationMode.Normal, __ctx);
00030 try
00031 {
00032 boolean __ok = __og.invoke();
00033 try
00034 {
00035 if(!__ok)
00036 {
00037 try
00038 {
00039 __og.throwUserException();
00040 }
00041 catch(Ice.UserException __ex)
00042 {
00043 throw new Ice.UnknownUserException(__ex.ice_name());
00044 }
00045 }
00046 IceInternal.BasicStream __is = __og.is();
00047 __is.startReadEncaps();
00048 String __ret;
00049 __ret = __is.readString();
00050 __is.endReadEncaps();
00051 return __ret;
00052 }
00053 catch(Ice.LocalException __ex)
00054 {
00055 throw new IceInternal.LocalExceptionWrapper(__ex, false);
00056 }
00057 }
00058 finally
00059 {
00060 __handler.reclaimOutgoing(__og);
00061 }
00062 }
00063
00064 public CASTComponentPrx
00065 newComponent(String id, String type, boolean newProcess, java.util.Map<String, String> __ctx)
00066 throws IceInternal.LocalExceptionWrapper,
00067 cast.ComponentCreationException
00068 {
00069 IceInternal.Outgoing __og = __handler.getOutgoing("newComponent", Ice.OperationMode.Normal, __ctx);
00070 try
00071 {
00072 try
00073 {
00074 IceInternal.BasicStream __os = __og.os();
00075 __os.writeString(id);
00076 __os.writeString(type);
00077 __os.writeBool(newProcess);
00078 }
00079 catch(Ice.LocalException __ex)
00080 {
00081 __og.abort(__ex);
00082 }
00083 boolean __ok = __og.invoke();
00084 try
00085 {
00086 if(!__ok)
00087 {
00088 try
00089 {
00090 __og.throwUserException();
00091 }
00092 catch(cast.ComponentCreationException __ex)
00093 {
00094 throw __ex;
00095 }
00096 catch(Ice.UserException __ex)
00097 {
00098 throw new Ice.UnknownUserException(__ex.ice_name());
00099 }
00100 }
00101 IceInternal.BasicStream __is = __og.is();
00102 __is.startReadEncaps();
00103 CASTComponentPrx __ret;
00104 __ret = CASTComponentPrxHelper.__read(__is);
00105 __is.endReadEncaps();
00106 return __ret;
00107 }
00108 catch(Ice.LocalException __ex)
00109 {
00110 throw new IceInternal.LocalExceptionWrapper(__ex, false);
00111 }
00112 }
00113 finally
00114 {
00115 __handler.reclaimOutgoing(__og);
00116 }
00117 }
00118
00119 public ManagedComponentPrx
00120 newManagedComponent(String id, String type, boolean newProcess, java.util.Map<String, String> __ctx)
00121 throws IceInternal.LocalExceptionWrapper,
00122 cast.ComponentCreationException
00123 {
00124 IceInternal.Outgoing __og = __handler.getOutgoing("newManagedComponent", Ice.OperationMode.Normal, __ctx);
00125 try
00126 {
00127 try
00128 {
00129 IceInternal.BasicStream __os = __og.os();
00130 __os.writeString(id);
00131 __os.writeString(type);
00132 __os.writeBool(newProcess);
00133 }
00134 catch(Ice.LocalException __ex)
00135 {
00136 __og.abort(__ex);
00137 }
00138 boolean __ok = __og.invoke();
00139 try
00140 {
00141 if(!__ok)
00142 {
00143 try
00144 {
00145 __og.throwUserException();
00146 }
00147 catch(cast.ComponentCreationException __ex)
00148 {
00149 throw __ex;
00150 }
00151 catch(Ice.UserException __ex)
00152 {
00153 throw new Ice.UnknownUserException(__ex.ice_name());
00154 }
00155 }
00156 IceInternal.BasicStream __is = __og.is();
00157 __is.startReadEncaps();
00158 ManagedComponentPrx __ret;
00159 __ret = ManagedComponentPrxHelper.__read(__is);
00160 __is.endReadEncaps();
00161 return __ret;
00162 }
00163 catch(Ice.LocalException __ex)
00164 {
00165 throw new IceInternal.LocalExceptionWrapper(__ex, false);
00166 }
00167 }
00168 finally
00169 {
00170 __handler.reclaimOutgoing(__og);
00171 }
00172 }
00173
00174 public TaskManagerPrx
00175 newTaskManager(String id, String type, boolean newProcess, java.util.Map<String, String> __ctx)
00176 throws IceInternal.LocalExceptionWrapper,
00177 cast.ComponentCreationException
00178 {
00179 IceInternal.Outgoing __og = __handler.getOutgoing("newTaskManager", Ice.OperationMode.Normal, __ctx);
00180 try
00181 {
00182 try
00183 {
00184 IceInternal.BasicStream __os = __og.os();
00185 __os.writeString(id);
00186 __os.writeString(type);
00187 __os.writeBool(newProcess);
00188 }
00189 catch(Ice.LocalException __ex)
00190 {
00191 __og.abort(__ex);
00192 }
00193 boolean __ok = __og.invoke();
00194 try
00195 {
00196 if(!__ok)
00197 {
00198 try
00199 {
00200 __og.throwUserException();
00201 }
00202 catch(cast.ComponentCreationException __ex)
00203 {
00204 throw __ex;
00205 }
00206 catch(Ice.UserException __ex)
00207 {
00208 throw new Ice.UnknownUserException(__ex.ice_name());
00209 }
00210 }
00211 IceInternal.BasicStream __is = __og.is();
00212 __is.startReadEncaps();
00213 TaskManagerPrx __ret;
00214 __ret = TaskManagerPrxHelper.__read(__is);
00215 __is.endReadEncaps();
00216 return __ret;
00217 }
00218 catch(Ice.LocalException __ex)
00219 {
00220 throw new IceInternal.LocalExceptionWrapper(__ex, false);
00221 }
00222 }
00223 finally
00224 {
00225 __handler.reclaimOutgoing(__og);
00226 }
00227 }
00228
00229 public UnmanagedComponentPrx
00230 newUnmanagedComponent(String id, String type, boolean newProcess, java.util.Map<String, String> __ctx)
00231 throws IceInternal.LocalExceptionWrapper,
00232 cast.ComponentCreationException
00233 {
00234 IceInternal.Outgoing __og = __handler.getOutgoing("newUnmanagedComponent", Ice.OperationMode.Normal, __ctx);
00235 try
00236 {
00237 try
00238 {
00239 IceInternal.BasicStream __os = __og.os();
00240 __os.writeString(id);
00241 __os.writeString(type);
00242 __os.writeBool(newProcess);
00243 }
00244 catch(Ice.LocalException __ex)
00245 {
00246 __og.abort(__ex);
00247 }
00248 boolean __ok = __og.invoke();
00249 try
00250 {
00251 if(!__ok)
00252 {
00253 try
00254 {
00255 __og.throwUserException();
00256 }
00257 catch(cast.ComponentCreationException __ex)
00258 {
00259 throw __ex;
00260 }
00261 catch(Ice.UserException __ex)
00262 {
00263 throw new Ice.UnknownUserException(__ex.ice_name());
00264 }
00265 }
00266 IceInternal.BasicStream __is = __og.is();
00267 __is.startReadEncaps();
00268 UnmanagedComponentPrx __ret;
00269 __ret = UnmanagedComponentPrxHelper.__read(__is);
00270 __is.endReadEncaps();
00271 return __ret;
00272 }
00273 catch(Ice.LocalException __ex)
00274 {
00275 throw new IceInternal.LocalExceptionWrapper(__ex, false);
00276 }
00277 }
00278 finally
00279 {
00280 __handler.reclaimOutgoing(__og);
00281 }
00282 }
00283
00284 public WorkingMemoryPrx
00285 newWorkingMemory(String id, String type, boolean newProcess, java.util.Map<String, String> __ctx)
00286 throws IceInternal.LocalExceptionWrapper,
00287 cast.ComponentCreationException
00288 {
00289 IceInternal.Outgoing __og = __handler.getOutgoing("newWorkingMemory", Ice.OperationMode.Normal, __ctx);
00290 try
00291 {
00292 try
00293 {
00294 IceInternal.BasicStream __os = __og.os();
00295 __os.writeString(id);
00296 __os.writeString(type);
00297 __os.writeBool(newProcess);
00298 }
00299 catch(Ice.LocalException __ex)
00300 {
00301 __og.abort(__ex);
00302 }
00303 boolean __ok = __og.invoke();
00304 try
00305 {
00306 if(!__ok)
00307 {
00308 try
00309 {
00310 __og.throwUserException();
00311 }
00312 catch(cast.ComponentCreationException __ex)
00313 {
00314 throw __ex;
00315 }
00316 catch(Ice.UserException __ex)
00317 {
00318 throw new Ice.UnknownUserException(__ex.ice_name());
00319 }
00320 }
00321 IceInternal.BasicStream __is = __og.is();
00322 __is.startReadEncaps();
00323 WorkingMemoryPrx __ret;
00324 __ret = WorkingMemoryPrxHelper.__read(__is);
00325 __is.endReadEncaps();
00326 return __ret;
00327 }
00328 catch(Ice.LocalException __ex)
00329 {
00330 throw new IceInternal.LocalExceptionWrapper(__ex, false);
00331 }
00332 }
00333 finally
00334 {
00335 __handler.reclaimOutgoing(__og);
00336 }
00337 }
00338 }