SequenceLibraryPOA.java

00001 package Sct_CalibrationController;
00002 
00003 
00011 public abstract class SequenceLibraryPOA extends org.omg.PortableServer.Servant
00012  implements Sct_CalibrationController.SequenceLibraryOperations, org.omg.CORBA.portable.InvokeHandler
00013 {
00014 
00015   // Constructors
00016 
00017   private static java.util.Hashtable _methods = new java.util.Hashtable ();
00018   static
00019   {
00020     _methods.put ("characterizationSequence", new java.lang.Integer (0));
00021     _methods.put ("quickCharacterizationSequence", new java.lang.Integer (1));
00022   }
00023 
00024   public org.omg.CORBA.portable.OutputStream _invoke (String $method,
00025                                 org.omg.CORBA.portable.InputStream in,
00026                                 org.omg.CORBA.portable.ResponseHandler $rh)
00027   {
00028     org.omg.CORBA.portable.OutputStream out = null;
00029     java.lang.Integer __method = (java.lang.Integer)_methods.get ($method);
00030     if (__method == null)
00031       throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
00032 
00033     switch (__method.intValue ())
00034     {
00035        case 0:  // Sct_CalibrationController/SequenceLibrary/characterizationSequence
00036        {
00037          Sct_CalibrationController.SequenceRequest $result = null;
00038          $result = this.characterizationSequence ();
00039          out = $rh.createReply();
00040          Sct_CalibrationController.SequenceRequestHelper.write (out, $result);
00041          break;
00042        }
00043 
00044        case 1:  // Sct_CalibrationController/SequenceLibrary/quickCharacterizationSequence
00045        {
00046          Sct_CalibrationController.SequenceRequest $result = null;
00047          $result = this.quickCharacterizationSequence ();
00048          out = $rh.createReply();
00049          Sct_CalibrationController.SequenceRequestHelper.write (out, $result);
00050          break;
00051        }
00052 
00053        default:
00054          throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
00055     }
00056 
00057     return out;
00058   } // _invoke
00059 
00060   // Type-specific CORBA::Object operations
00061   private static String[] __ids = {
00062     "IDL:Sct_CalibrationController/SequenceLibrary:1.0"};
00063 
00064   public String[] _all_interfaces (org.omg.PortableServer.POA poa, byte[] objectId)
00065   {
00066     return (String[])__ids.clone ();
00067   }
00068 
00069   public SequenceLibrary _this() 
00070   {
00071     return SequenceLibraryHelper.narrow(
00072     super._this_object());
00073   }
00074 
00075   public SequenceLibrary _this(org.omg.CORBA.ORB orb) 
00076   {
00077     return SequenceLibraryHelper.narrow(
00078     super._this_object(orb));
00079   }
00080 
00081 
00082 } // class SequenceLibraryPOA

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