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 ("fivePointGain", new java.lang.Integer (2));
00023     _methods.put ("strobeDelay", new java.lang.Integer (3));
00024     _methods.put ("noiseOccupancy", new java.lang.Integer (4));
00025     _methods.put ("pipeline", new java.lang.Integer (5));
00026     _methods.put ("fullBypassBarrel", new java.lang.Integer (6));
00027     _methods.put ("fullBypassEndcap", new java.lang.Integer (7));
00028     _methods.put ("trimRange", new java.lang.Integer (8));
00029     _methods.put ("quickTrimRange", new java.lang.Integer (9));
00030     _methods.put ("timeWalk", new java.lang.Integer (10));
00031     _methods.put ("nmask", new java.lang.Integer (11));
00032     _methods.put ("doubleTriggerNoise", new java.lang.Integer (12));
00033     _methods.put ("synchTriggerNoise", new java.lang.Integer (13));
00034     _methods.put ("rxDelay", new java.lang.Integer (14));
00035     _methods.put ("rxThreshold", new java.lang.Integer (15));
00036     _methods.put ("rxThresholdBasedOnConfigRegister", new java.lang.Integer (16));
00037     _methods.put ("txCurrent", new java.lang.Integer (17));
00038   }
00039 
00040   public org.omg.CORBA.portable.OutputStream _invoke (String $method,
00041                                 org.omg.CORBA.portable.InputStream in,
00042                                 org.omg.CORBA.portable.ResponseHandler $rh)
00043   {
00044     org.omg.CORBA.portable.OutputStream out = null;
00045     java.lang.Integer __method = (java.lang.Integer)_methods.get ($method);
00046     if (__method == null)
00047       throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
00048 
00049     switch (__method.intValue ())
00050     {
00051        case 0:  // Sct_CalibrationController/TestLibrary/responseCurve
00052        {
00053          Sct_CalibrationController.TestRequest $result = null;
00054          $result = this.responseCurve ();
00055          out = $rh.createReply();
00056          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00057          break;
00058        }
00059 
00060        case 1:  // Sct_CalibrationController/TestLibrary/threePointGain
00061        {
00062          Sct_CalibrationController.TestRequest $result = null;
00063          $result = this.threePointGain ();
00064          out = $rh.createReply();
00065          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00066          break;
00067        }
00068 
00069        case 2:  // Sct_CalibrationController/TestLibrary/fivePointGain
00070        {
00071          Sct_CalibrationController.TestRequest $result = null;
00072          $result = this.fivePointGain ();
00073          out = $rh.createReply();
00074          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00075          break;
00076        }
00077 
00078        case 3:  // Sct_CalibrationController/TestLibrary/strobeDelay
00079        {
00080          Sct_CalibrationController.TestRequest $result = null;
00081          $result = this.strobeDelay ();
00082          out = $rh.createReply();
00083          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00084          break;
00085        }
00086 
00087        case 4:  // Sct_CalibrationController/TestLibrary/noiseOccupancy
00088        {
00089          Sct_CalibrationController.TestRequest $result = null;
00090          $result = this.noiseOccupancy ();
00091          out = $rh.createReply();
00092          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00093          break;
00094        }
00095 
00096        case 5:  // Sct_CalibrationController/TestLibrary/pipeline
00097        {
00098          Sct_CalibrationController.TestRequest $result = null;
00099          $result = this.pipeline ();
00100          out = $rh.createReply();
00101          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00102          break;
00103        }
00104 
00105        case 6:  // Sct_CalibrationController/TestLibrary/fullBypassBarrel
00106        {
00107          Sct_CalibrationController.TestRequest $result = null;
00108          $result = this.fullBypassBarrel ();
00109          out = $rh.createReply();
00110          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00111          break;
00112        }
00113 
00114        case 7:  // Sct_CalibrationController/TestLibrary/fullBypassEndcap
00115        {
00116          Sct_CalibrationController.TestRequest $result = null;
00117          $result = this.fullBypassEndcap ();
00118          out = $rh.createReply();
00119          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00120          break;
00121        }
00122 
00123        case 8:  // Sct_CalibrationController/TestLibrary/trimRange
00124        {
00125          Sct_CalibrationController.TestRequest $result = null;
00126          $result = this.trimRange ();
00127          out = $rh.createReply();
00128          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00129          break;
00130        }
00131 
00132        case 9:  // Sct_CalibrationController/TestLibrary/quickTrimRange
00133        {
00134          Sct_CalibrationController.TestRequest $result = null;
00135          $result = this.quickTrimRange ();
00136          out = $rh.createReply();
00137          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00138          break;
00139        }
00140 
00141        case 10:  // Sct_CalibrationController/TestLibrary/timeWalk
00142        {
00143          Sct_CalibrationController.TestRequest $result = null;
00144          $result = this.timeWalk ();
00145          out = $rh.createReply();
00146          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00147          break;
00148        }
00149 
00150        case 11:  // Sct_CalibrationController/TestLibrary/nmask
00151        {
00152          Sct_CalibrationController.TestRequest $result = null;
00153          $result = this.nmask ();
00154          out = $rh.createReply();
00155          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00156          break;
00157        }
00158 
00159        case 12:  // Sct_CalibrationController/TestLibrary/doubleTriggerNoise
00160        {
00161          Sct_CalibrationController.TestRequest $result = null;
00162          $result = this.doubleTriggerNoise ();
00163          out = $rh.createReply();
00164          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00165          break;
00166        }
00167 
00168        case 13:  // Sct_CalibrationController/TestLibrary/synchTriggerNoise
00169        {
00170          Sct_CalibrationController.TestRequest $result = null;
00171          $result = this.synchTriggerNoise ();
00172          out = $rh.createReply();
00173          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00174          break;
00175        }
00176 
00177        case 14:  // Sct_CalibrationController/TestLibrary/rxDelay
00178        {
00179          Sct_CalibrationController.TestRequest $result = null;
00180          $result = this.rxDelay ();
00181          out = $rh.createReply();
00182          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00183          break;
00184        }
00185 
00186        case 15:  // Sct_CalibrationController/TestLibrary/rxThreshold
00187        {
00188          Sct_CalibrationController.TestRequest $result = null;
00189          $result = this.rxThreshold ();
00190          out = $rh.createReply();
00191          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00192          break;
00193        }
00194 
00195        case 16:  // Sct_CalibrationController/TestLibrary/rxThresholdBasedOnConfigRegister
00196        {
00197          Sct_CalibrationController.TestRequest $result = null;
00198          $result = this.rxThresholdBasedOnConfigRegister ();
00199          out = $rh.createReply();
00200          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00201          break;
00202        }
00203 
00204        case 17:  // Sct_CalibrationController/TestLibrary/txCurrent
00205        {
00206          Sct_CalibrationController.TestRequest $result = null;
00207          $result = this.txCurrent ();
00208          out = $rh.createReply();
00209          Sct_CalibrationController.TestRequestHelper.write (out, $result);
00210          break;
00211        }
00212 
00213        default:
00214          throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
00215     }
00216 
00217     return out;
00218   } // _invoke
00219 
00220   // Type-specific CORBA::Object operations
00221   private static String[] __ids = {
00222     "IDL:Sct_CalibrationController/TestLibrary:1.0"};
00223 
00224   public String[] _all_interfaces (org.omg.PortableServer.POA poa, byte[] objectId)
00225   {
00226     return (String[])__ids.clone ();
00227   }
00228 
00229   public TestLibrary _this() 
00230   {
00231     return TestLibraryHelper.narrow(
00232     super._this_object());
00233   }
00234 
00235   public TestLibrary _this(org.omg.CORBA.ORB orb) 
00236   {
00237     return TestLibraryHelper.narrow(
00238     super._this_object(orb));
00239   }
00240 
00241 
00242 } // class TestLibraryPOA

Generated on Fri Jan 14 12:49:57 2005 for SCT DAQ/DCS Software - Java by doxygen 1.3.5