Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

_JustTopLevelStub.java

00001 package Sct_SctApi;
00002 
00003 
00011 public class _JustTopLevelStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.JustTopLevel
00012 {
00013 
00014   public Sct_SctApi.CrateIPC getCrate (Sct.Corba.UniqueCrateIdentifier ucid)
00015   {
00016             org.omg.CORBA.portable.InputStream $in = null;
00017             try {
00018                 org.omg.CORBA.portable.OutputStream $out = _request ("getCrate", true);
00019                 Sct.Corba.UCIDHelper.write ($out, ucid);
00020                 $in = _invoke ($out);
00021                 Sct_SctApi.CrateIPC $result = Sct_SctApi.CrateIPCHelper.read ($in);
00022                 return $result;
00023             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00024                 $in = $ex.getInputStream ();
00025                 String _id = $ex.getId ();
00026                 throw new org.omg.CORBA.MARSHAL (_id);
00027             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00028                 return getCrate (ucid        );
00029             } finally {
00030                 _releaseReply ($in);
00031             }
00032   } // getCrate
00033 
00034   public Sct_SctApi.CrateIPC getCrateLegacy (int partition, int crate)
00035   {
00036             org.omg.CORBA.portable.InputStream $in = null;
00037             try {
00038                 org.omg.CORBA.portable.OutputStream $out = _request ("getCrateLegacy", true);
00039                 $out.write_ulong (partition);
00040                 $out.write_ulong (crate);
00041                 $in = _invoke ($out);
00042                 Sct_SctApi.CrateIPC $result = Sct_SctApi.CrateIPCHelper.read ($in);
00043                 return $result;
00044             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00045                 $in = $ex.getInputStream ();
00046                 String _id = $ex.getId ();
00047                 throw new org.omg.CORBA.MARSHAL (_id);
00048             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00049                 return getCrateLegacy (partition, crate        );
00050             } finally {
00051                 _releaseReply ($in);
00052             }
00053   } // getCrateLegacy
00054 
00055   public Sct.Corba.UniqueCrateIdentifier[] getCrateUCIDs ()
00056   {
00057             org.omg.CORBA.portable.InputStream $in = null;
00058             try {
00059                 org.omg.CORBA.portable.OutputStream $out = _request ("getCrateUCIDs", true);
00060                 $in = _invoke ($out);
00061                 Sct.Corba.UniqueCrateIdentifier $result[] = Sct.Corba.UCIDsHelper.read ($in);
00062                 return $result;
00063             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00064                 $in = $ex.getInputStream ();
00065                 String _id = $ex.getId ();
00066                 throw new org.omg.CORBA.MARSHAL (_id);
00067             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00068                 return getCrateUCIDs (        );
00069             } finally {
00070                 _releaseReply ($in);
00071             }
00072   } // getCrateUCIDs
00073 
00074   public void standardRegisterDumpURID (Sct.Corba.UniqueRodIdentifier urid)
00075   {
00076             org.omg.CORBA.portable.InputStream $in = null;
00077             try {
00078                 org.omg.CORBA.portable.OutputStream $out = _request ("standardRegisterDumpURID", true);
00079                 Sct.Corba.URIDHelper.write ($out, urid);
00080                 $in = _invoke ($out);
00081                 return;
00082             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00083                 $in = $ex.getInputStream ();
00084                 String _id = $ex.getId ();
00085                 throw new org.omg.CORBA.MARSHAL (_id);
00086             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00087                 standardRegisterDumpURID (urid        );
00088             } finally {
00089                 _releaseReply ($in);
00090             }
00091   } // standardRegisterDumpURID
00092 
00093   // Type-specific CORBA::Object operations
00094   private static String[] __ids = {
00095     "IDL:Sct_SctApi/JustTopLevel:1.0", 
00096     "IDL:Sct_SctApi/CrateAccessTopLevel:1.0", 
00097     "IDL:Sct_SctApi/DebugOptionsJustTop:1.0"};
00098 
00099   public String[] _ids ()
00100   {
00101     return (String[])__ids.clone ();
00102   }
00103 
00104   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00105   {
00106      String str = s.readUTF ();
00107      String[] args = null;
00108      java.util.Properties props = null;
00109      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00110      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00111      _set_delegate (delegate);
00112   }
00113 
00114   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00115   {
00116      String[] args = null;
00117      java.util.Properties props = null;
00118      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00119      s.writeUTF (str);
00120   }
00121 } // class _JustTopLevelStub

Generated on Fri Sep 16 18:05:51 2005 for SCT DAQ/DCS Software - Java by doxygen 1.3.5