_SctServiceInterfaceStub.java

00001 package SctServiceI;
00002 
00003 
00015 public class _SctServiceInterfaceStub extends org.omg.CORBA.portable.ObjectImpl implements SctServiceI.SctServiceInterface
00016 {
00017 
00018 
00022   public String status ()
00023   {
00024             org.omg.CORBA.portable.InputStream $in = null;
00025             try {
00026                 org.omg.CORBA.portable.OutputStream $out = _request ("status", true);
00027                 $in = _invoke ($out);
00028                 String $result = $in.read_string ();
00029                 return $result;
00030             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00031                 $in = $ex.getInputStream ();
00032                 String _id = $ex.getId ();
00033                 throw new org.omg.CORBA.MARSHAL (_id);
00034             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00035                 return status (        );
00036             } finally {
00037                 _releaseReply ($in);
00038             }
00039   } // status
00040 
00041 
00045   public short busy ()
00046   {
00047             org.omg.CORBA.portable.InputStream $in = null;
00048             try {
00049                 org.omg.CORBA.portable.OutputStream $out = _request ("busy", true);
00050                 $in = _invoke ($out);
00051                 short $result = $in.read_short ();
00052                 return $result;
00053             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00054                 $in = $ex.getInputStream ();
00055                 String _id = $ex.getId ();
00056                 throw new org.omg.CORBA.MARSHAL (_id);
00057             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00058                 return busy (        );
00059             } finally {
00060                 _releaseReply ($in);
00061             }
00062   } // busy
00063 
00064 
00068   public short queueLength ()
00069   {
00070             org.omg.CORBA.portable.InputStream $in = null;
00071             try {
00072                 org.omg.CORBA.portable.OutputStream $out = _request ("queueLength", true);
00073                 $in = _invoke ($out);
00074                 short $result = $in.read_short ();
00075                 return $result;
00076             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00077                 $in = $ex.getInputStream ();
00078                 String _id = $ex.getId ();
00079                 throw new org.omg.CORBA.MARSHAL (_id);
00080             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00081                 return queueLength (        );
00082             } finally {
00083                 _releaseReply ($in);
00084             }
00085   } // queueLength
00086 
00087   public ipc.servantPackage.info information ()
00088   {
00089             org.omg.CORBA.portable.InputStream $in = null;
00090             try {
00091                 org.omg.CORBA.portable.OutputStream $out = _request ("_get_information", true);
00092                 $in = _invoke ($out);
00093                 ipc.servantPackage.info $result = ipc.servantPackage.infoHelper.read ($in);
00094                 return $result;
00095             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00096                 $in = $ex.getInputStream ();
00097                 String _id = $ex.getId ();
00098                 throw new org.omg.CORBA.MARSHAL (_id);
00099             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00100                 return information (        );
00101             } finally {
00102                 _releaseReply ($in);
00103             }
00104   } // information
00105 
00106   public void shutdown ()
00107   {
00108             org.omg.CORBA.portable.InputStream $in = null;
00109             try {
00110                 org.omg.CORBA.portable.OutputStream $out = _request ("shutdown", true);
00111                 $in = _invoke ($out);
00112                 return;
00113             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00114                 $in = $ex.getInputStream ();
00115                 String _id = $ex.getId ();
00116                 throw new org.omg.CORBA.MARSHAL (_id);
00117             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00118                 shutdown (        );
00119             } finally {
00120                 _releaseReply ($in);
00121             }
00122   } // shutdown
00123 
00124   // Type-specific CORBA::Object operations
00125   private static String[] __ids = {
00126     "IDL:SctServiceI/SctServiceInterface:1.0", 
00127     "IDL:ipc/servant:1.0"};
00128 
00129   public String[] _ids ()
00130   {
00131     return (String[])__ids.clone ();
00132   }
00133 
00134   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00135   {
00136      String str = s.readUTF ();
00137      String[] args = null;
00138      java.util.Properties props = null;
00139      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00140      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00141      _set_delegate (delegate);
00142   }
00143 
00144   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00145   {
00146      String[] args = null;
00147      java.util.Properties props = null;
00148      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00149      s.writeUTF (str);
00150   }
00151 } // class _SctServiceInterfaceStub

Generated on Mon Feb 6 14:12:07 2006 for SCT DAQ/DCS Software - Java by  doxygen 1.4.6