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

TestLibraryPOA.java

00001 package Sct_CalibrationController;
00002 
00003 
00011 public abstract class TestLibraryPOA extends org.omg.PortableServer.Servant
00012  implements Sct_CalibrationController.TestLibraryOperations, 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 ("responseCurve", new java.lang.Integer (0));
00021     _methods.put ("threePointGain", new java.lang.Integer (1));
00022     _methods.put ("strobeDelay", new java.lang.Integer (2));
00023     _methods.put ("noiseOccupancy", new java.lang.Integer (3));
00024     _methods.put ("pipeline", new java.lang.Integer (4));
00025     _methods.put ("fullBypassBarrel", new java.lang.Integer (5));
00026     _methods.put ("fullBypassEndcap", new java.lang.Integer (6));
00027     _methods.put ("trimRange", new java.lang.Integer (7));
00028     _methods.put ("timeWalk", new java.lang.Integer (8));
00029     _methods.put ("nmask", new java.lang.Integer (9));
00030     _methods.put ("rxDelay", new java.lang.Integer (10));
00031     _methods.put ("rxThreshold", new java.lang.Integer (11));
00032   }
00033 
00034   public org.omg.CORBA.portable.OutputStream _invoke (String $method,
00035                                 org.omg.CORBA.portable.InputStream in,
00036                                 org.omg.CORBA.portable.ResponseHandler $rh)
00037   {
00038     org.omg.CORBA.portable.OutputStream out = null;
00039     java.lang.Integer __method = (java.lang.Integer)_methods.get ($method);
00040     if (__method == null)
00041       throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
00042 
00043     switch (__method.intValue ())
00044     {
00045        case 0:  // Sct_CalibrationController/TestLibrary/responseCurve
00046        {
00047          Sct_CalibrationController.TestRequest $result = null;
00048          $result = this.responseCurve ();
00049          out = $rh.createReply();
00050          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00051          break;
00052        }
00053 
00054        case 1:  // Sct_CalibrationController/TestLibrary/threePointGain
00055        {
00056          Sct_CalibrationController.TestRequest $result = null;
00057          $result = this.threePointGain ();
00058          out = $rh.createReply();
00059          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00060          break;
00061        }
00062 
00063        case 2:  // Sct_CalibrationController/TestLibrary/strobeDelay
00064        {
00065          Sct_CalibrationController.TestRequest $result = null;
00066          $result = this.strobeDelay ();
00067          out = $rh.createReply();
00068          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00069          break;
00070        }
00071 
00072        case 3:  // Sct_CalibrationController/TestLibrary/noiseOccupancy
00073        {
00074          Sct_CalibrationController.TestRequest $result = null;
00075          $result = this.noiseOccupancy ();
00076          out = $rh.createReply();
00077          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00078          break;
00079        }
00080 
00081        case 4:  // Sct_CalibrationController/TestLibrary/pipeline
00082        {
00083          Sct_CalibrationController.TestRequest $result = null;
00084          $result = this.pipeline ();
00085          out = $rh.createReply();
00086          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00087          break;
00088        }
00089 
00090        case 5:  // Sct_CalibrationController/TestLibrary/fullBypassBarrel
00091        {
00092          Sct_CalibrationController.TestRequest $result = null;
00093          $result = this.fullBypassBarrel ();
00094          out = $rh.createReply();
00095          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00096          break;
00097        }
00098 
00099        case 6:  // Sct_CalibrationController/TestLibrary/fullBypassEndcap
00100        {
00101          Sct_CalibrationController.TestRequest $result = null;
00102          $result = this.fullBypassEndcap ();
00103          out = $rh.createReply();
00104          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00105          break;
00106        }
00107 
00108        case 7:  // Sct_CalibrationController/TestLibrary/trimRange
00109        {
00110          Sct_CalibrationController.TestRequest $result = null;
00111          $result = this.trimRange ();
00112          out = $rh.createReply();
00113          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00114          break;
00115        }
00116 
00117        case 8:  // Sct_CalibrationController/TestLibrary/timeWalk
00118        {
00119          Sct_CalibrationController.TestRequest $result = null;
00120          $result = this.timeWalk ();
00121          out = $rh.createReply();
00122          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00123          break;
00124        }
00125 
00126        case 9:  // Sct_CalibrationController/TestLibrary/nmask
00127        {
00128          Sct_CalibrationController.TestRequest $result = null;
00129          $result = this.nmask ();
00130          out = $rh.createReply();
00131          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00132          break;
00133        }
00134 
00135        case 10:  // Sct_CalibrationController/TestLibrary/rxDelay
00136        {
00137          Sct_CalibrationController.TestRequest $result = null;
00138          $result = this.rxDelay ();
00139          out = $rh.createReply();
00140          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00141          break;
00142        }
00143 
00144        case 11:  // Sct_CalibrationController/TestLibrary/rxThreshold
00145        {
00146          Sct_CalibrationController.TestRequest $result = null;
00147          $result = this.rxThreshold ();
00148          out = $rh.createReply();
00149          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00150          break;
00151        }
00152 
00153        default:
00154          throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
00155     }
00156 
00157     return out;
00158   } // _invoke
00159 
00160   // Type-specific CORBA::Object operations
00161   private static String[] __ids = {
00162     "IDL:Sct_CalibrationController/TestLibrary:1.0"};
00163 
00164   public String[] _all_interfaces (org.omg.PortableServer.POA poa, byte[] objectId)
00165   {
00166     return (String[])__ids.clone ();
00167   }
00168 
00169   public TestLibrary _this() 
00170   {
00171     return TestLibraryHelper.narrow(
00172     super._this_object());
00173   }
00174 
00175   public TestLibrary _this(org.omg.CORBA.ORB orb) 
00176   {
00177     return TestLibraryHelper.narrow(
00178     super._this_object(orb));
00179   }
00180 
00181 
00182 } // class TestLibraryPOA

Generated on Thu Jul 15 09:55:50 2004 for SCT DAQ/DCS Software - Java by doxygen 1.3.5