00001 package Sct_SctApi;
00002
00003
00012
00013 public class _JustCrateMethodsStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.JustCrateMethods
00014 {
00015
00016 public Sct_SctApi.Idiosyncrasy getIdiosyncrasy ()
00017 {
00018 org.omg.CORBA.portable.InputStream $in = null;
00019 try {
00020 org.omg.CORBA.portable.OutputStream $out = _request ("getIdiosyncrasy", true);
00021 $in = _invoke ($out);
00022 Sct_SctApi.Idiosyncrasy $result = Sct_SctApi.IdiosyncrasyHelper.read ($in);
00023 return $result;
00024 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00025 $in = $ex.getInputStream ();
00026 String _id = $ex.getId ();
00027 throw new org.omg.CORBA.MARSHAL (_id);
00028 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00029 return getIdiosyncrasy ( );
00030 } finally {
00031 _releaseReply ($in);
00032 }
00033 }
00034
00035 public String getHostName ()
00036 {
00037 org.omg.CORBA.portable.InputStream $in = null;
00038 try {
00039 org.omg.CORBA.portable.OutputStream $out = _request ("getHostName", true);
00040 $in = _invoke ($out);
00041 String $result = $in.read_string ();
00042 return $result;
00043 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00044 $in = $ex.getInputStream ();
00045 String _id = $ex.getId ();
00046 throw new org.omg.CORBA.MARSHAL (_id);
00047 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00048 return getHostName ( );
00049 } finally {
00050 _releaseReply ($in);
00051 }
00052 }
00053
00054
00055
00056 public short dspBlockDump (int rod, int dspStart, int numWords, int dspNumber)
00057 {
00058 org.omg.CORBA.portable.InputStream $in = null;
00059 try {
00060 org.omg.CORBA.portable.OutputStream $out = _request ("dspBlockDump", true);
00061 $out.write_ulong (rod);
00062 $out.write_long (dspStart);
00063 $out.write_long (numWords);
00064 $out.write_long (dspNumber);
00065 $in = _invoke ($out);
00066 short $result = $in.read_short ();
00067 return $result;
00068 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00069 $in = $ex.getInputStream ();
00070 String _id = $ex.getId ();
00071 throw new org.omg.CORBA.MARSHAL (_id);
00072 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00073 return dspBlockDump (rod, dspStart, numWords, dspNumber );
00074 } finally {
00075 _releaseReply ($in);
00076 }
00077 }
00078
00079 public int[] dspBlockRead (int rod, int dspStart, int numWords, int dspNumber)
00080 {
00081 org.omg.CORBA.portable.InputStream $in = null;
00082 try {
00083 org.omg.CORBA.portable.OutputStream $out = _request ("dspBlockRead", true);
00084 $out.write_ulong (rod);
00085 $out.write_long (dspStart);
00086 $out.write_long (numWords);
00087 $out.write_long (dspNumber);
00088 $in = _invoke ($out);
00089 int $result[] = Sct_SctApi.DataBlockHelper.read ($in);
00090 return $result;
00091 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00092 $in = $ex.getInputStream ();
00093 String _id = $ex.getId ();
00094 throw new org.omg.CORBA.MARSHAL (_id);
00095 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00096 return dspBlockRead (rod, dspStart, numWords, dspNumber );
00097 } finally {
00098 _releaseReply ($in);
00099 }
00100 }
00101
00102 public short dspBlockWrite (int rod, int[] buffer, int dspAddress, int dspNumber)
00103 {
00104 org.omg.CORBA.portable.InputStream $in = null;
00105 try {
00106 org.omg.CORBA.portable.OutputStream $out = _request ("dspBlockWrite", true);
00107 $out.write_ulong (rod);
00108 Sct_SctApi.DataBlockHelper.write ($out, buffer);
00109 $out.write_ulong (dspAddress);
00110 $out.write_long (dspNumber);
00111 $in = _invoke ($out);
00112 short $result = $in.read_short ();
00113 return $result;
00114 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00115 $in = $ex.getInputStream ();
00116 String _id = $ex.getId ();
00117 throw new org.omg.CORBA.MARSHAL (_id);
00118 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00119 return dspBlockWrite (rod, buffer, dspAddress, dspNumber );
00120 } finally {
00121 _releaseReply ($in);
00122 }
00123 }
00124
00125 public int dspSingleRead (int rod, int dspAddr, int dspNumber)
00126 {
00127 org.omg.CORBA.portable.InputStream $in = null;
00128 try {
00129 org.omg.CORBA.portable.OutputStream $out = _request ("dspSingleRead", true);
00130 $out.write_ulong (rod);
00131 $out.write_ulong (dspAddr);
00132 $out.write_long (dspNumber);
00133 $in = _invoke ($out);
00134 int $result = $in.read_ulong ();
00135 return $result;
00136 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00137 $in = $ex.getInputStream ();
00138 String _id = $ex.getId ();
00139 throw new org.omg.CORBA.MARSHAL (_id);
00140 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00141 return dspSingleRead (rod, dspAddr, dspNumber );
00142 } finally {
00143 _releaseReply ($in);
00144 }
00145 }
00146
00147 public void dspSingleWrite (int rod, int dspAddr, int val, int dspNumber)
00148 {
00149 org.omg.CORBA.portable.InputStream $in = null;
00150 try {
00151 org.omg.CORBA.portable.OutputStream $out = _request ("dspSingleWrite", true);
00152 $out.write_ulong (rod);
00153 $out.write_ulong (dspAddr);
00154 $out.write_ulong (val);
00155 $out.write_long (dspNumber);
00156 $in = _invoke ($out);
00157 return;
00158 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00159 $in = $ex.getInputStream ();
00160 String _id = $ex.getId ();
00161 throw new org.omg.CORBA.MARSHAL (_id);
00162 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00163 dspSingleWrite (rod, dspAddr, val, dspNumber );
00164 } finally {
00165 _releaseReply ($in);
00166 }
00167 }
00168
00169 public int[] readSlaveDsp (int rod, short s, int add, int words)
00170 {
00171 org.omg.CORBA.portable.InputStream $in = null;
00172 try {
00173 org.omg.CORBA.portable.OutputStream $out = _request ("readSlaveDsp", true);
00174 $out.write_ulong (rod);
00175 $out.write_short (s);
00176 $out.write_ulong (add);
00177 $out.write_ulong (words);
00178 $in = _invoke ($out);
00179 int $result[] = Sct_SctApi.DataBlockHelper.read ($in);
00180 return $result;
00181 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00182 $in = $ex.getInputStream ();
00183 String _id = $ex.getId ();
00184 throw new org.omg.CORBA.MARSHAL (_id);
00185 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00186 return readSlaveDsp (rod, s, add, words );
00187 } finally {
00188 _releaseReply ($in);
00189 }
00190 }
00191
00192
00193
00194 public void printBOCSetup (int rod)
00195 {
00196 org.omg.CORBA.portable.InputStream $in = null;
00197 try {
00198 org.omg.CORBA.portable.OutputStream $out = _request ("printBOCSetup", true);
00199 $out.write_ulong (rod);
00200 $in = _invoke ($out);
00201 return;
00202 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00203 $in = $ex.getInputStream ();
00204 String _id = $ex.getId ();
00205 throw new org.omg.CORBA.MARSHAL (_id);
00206 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00207 printBOCSetup (rod );
00208 } finally {
00209 _releaseReply ($in);
00210 }
00211 }
00212
00213 public sctConf.ABCDModule getABCDModuleRaw (int rod, int slot, Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00214 {
00215 org.omg.CORBA.portable.InputStream $in = null;
00216 try {
00217 org.omg.CORBA.portable.OutputStream $out = _request ("getABCDModuleRaw", true);
00218 $out.write_ulong (rod);
00219 $out.write_ulong (slot);
00220 Sct_SctApi.BankTypeHelper.write ($out, bank);
00221 $in = _invoke ($out);
00222 sctConf.ABCDModule $result = sctConf.ABCDModuleHelper.read ($in);
00223 return $result;
00224 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00225 $in = $ex.getInputStream ();
00226 String _id = $ex.getId ();
00227 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00228 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00229 else
00230 throw new org.omg.CORBA.MARSHAL (_id);
00231 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00232 return getABCDModuleRaw (rod, slot, bank );
00233 } finally {
00234 _releaseReply ($in);
00235 }
00236 }
00237
00238 public String[] listEnabledDebugOptions ()
00239 {
00240 org.omg.CORBA.portable.InputStream $in = null;
00241 try {
00242 org.omg.CORBA.portable.OutputStream $out = _request ("listEnabledDebugOptions", true);
00243 $in = _invoke ($out);
00244 String $result[] = Sct_SctApi.DebugOptionListHelper.read ($in);
00245 return $result;
00246 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00247 $in = $ex.getInputStream ();
00248 String _id = $ex.getId ();
00249 throw new org.omg.CORBA.MARSHAL (_id);
00250 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00251 return listEnabledDebugOptions ( );
00252 } finally {
00253 _releaseReply ($in);
00254 }
00255 }
00256
00257 public void standardRegisterDumpRod (int rod)
00258 {
00259 org.omg.CORBA.portable.InputStream $in = null;
00260 try {
00261 org.omg.CORBA.portable.OutputStream $out = _request ("standardRegisterDumpRod", true);
00262 $out.write_ulong (rod);
00263 $in = _invoke ($out);
00264 return;
00265 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00266 $in = $ex.getInputStream ();
00267 String _id = $ex.getId ();
00268 throw new org.omg.CORBA.MARSHAL (_id);
00269 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00270 standardRegisterDumpRod (rod );
00271 } finally {
00272 _releaseReply ($in);
00273 }
00274 }
00275
00276
00277
00278 public void testLinkOutSelect (int rod, int link)
00279 {
00280 org.omg.CORBA.portable.InputStream $in = null;
00281 try {
00282 org.omg.CORBA.portable.OutputStream $out = _request ("testLinkOutSelect", true);
00283 $out.write_ulong (rod);
00284 $out.write_ulong (link);
00285 $in = _invoke ($out);
00286 return;
00287 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00288 $in = $ex.getInputStream ();
00289 String _id = $ex.getId ();
00290 throw new org.omg.CORBA.MARSHAL (_id);
00291 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00292 testLinkOutSelect (rod, link );
00293 } finally {
00294 _releaseReply ($in);
00295 }
00296 }
00297
00298 public int testLinkOutRetrieve (int rod)
00299 {
00300 org.omg.CORBA.portable.InputStream $in = null;
00301 try {
00302 org.omg.CORBA.portable.OutputStream $out = _request ("testLinkOutRetrieve", true);
00303 $out.write_ulong (rod);
00304 $in = _invoke ($out);
00305 int $result = $in.read_ulong ();
00306 return $result;
00307 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00308 $in = $ex.getInputStream ();
00309 String _id = $ex.getId ();
00310 throw new org.omg.CORBA.MARSHAL (_id);
00311 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00312 return testLinkOutRetrieve (rod );
00313 } finally {
00314 _releaseReply ($in);
00315 }
00316 }
00317
00318 public int getRodSlot (int rod)
00319 {
00320 org.omg.CORBA.portable.InputStream $in = null;
00321 try {
00322 org.omg.CORBA.portable.OutputStream $out = _request ("getRodSlot", true);
00323 $out.write_ulong (rod);
00324 $in = _invoke ($out);
00325 int $result = $in.read_ulong ();
00326 return $result;
00327 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00328 $in = $ex.getInputStream ();
00329 String _id = $ex.getId ();
00330 throw new org.omg.CORBA.MARSHAL (_id);
00331 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00332 return getRodSlot (rod );
00333 } finally {
00334 _releaseReply ($in);
00335 }
00336 }
00337
00338 public boolean isRODPresent (int rod)
00339 {
00340 org.omg.CORBA.portable.InputStream $in = null;
00341 try {
00342 org.omg.CORBA.portable.OutputStream $out = _request ("isRODPresent", true);
00343 $out.write_ulong (rod);
00344 $in = _invoke ($out);
00345 boolean $result = $in.read_boolean ();
00346 return $result;
00347 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00348 $in = $ex.getInputStream ();
00349 String _id = $ex.getId ();
00350 throw new org.omg.CORBA.MARSHAL (_id);
00351 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00352 return isRODPresent (rod );
00353 } finally {
00354 _releaseReply ($in);
00355 }
00356 }
00357
00358
00359 private static String[] __ids = {
00360 "IDL:Sct_SctApi/JustCrateMethods:1.0",
00361 "IDL:Sct_SctApi/DirectRODAccess:1.0",
00362 "IDL:Sct_SctApi/DebugOptionsJustCrate:1.0"};
00363
00364 public String[] _ids ()
00365 {
00366 return (String[])__ids.clone ();
00367 }
00368
00369 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00370 {
00371 String str = s.readUTF ();
00372 String[] args = null;
00373 java.util.Properties props = null;
00374 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00375 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00376 _set_delegate (delegate);
00377 }
00378
00379 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00380 {
00381 String[] args = null;
00382 java.util.Properties props = null;
00383 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00384 s.writeUTF (str);
00385 }
00386 }