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

ScanRequestPOA.java

00001 package Sct_CalibrationController;
00002 
00003 
00013 public abstract class ScanRequestPOA extends org.omg.PortableServer.Servant
00014  implements Sct_CalibrationController.ScanRequestOperations, org.omg.CORBA.portable.InvokeHandler
00015 {
00016 
00017   // Constructors
00018 
00019   private static java.util.Hashtable _methods = new java.util.Hashtable ();
00020   static
00021   {
00022     _methods.put ("getScanCorba", new java.lang.Integer (0));
00023     _methods.put ("setScanCorba", new java.lang.Integer (1));
00024     _methods.put ("configureModulesCorba", new java.lang.Integer (2));
00025     _methods.put ("clockByTwoCorba", new java.lang.Integer (3));
00026     _methods.put ("setClockByTwoCorba", new java.lang.Integer (4));
00027     _methods.put ("isRawCorba", new java.lang.Integer (5));
00028     _methods.put ("delayCorba", new java.lang.Integer (6));
00029     _methods.put ("setWidthCorba", new java.lang.Integer (7));
00030     _methods.put ("widthCorba", new java.lang.Integer (8));
00031   }
00032 
00033   public org.omg.CORBA.portable.OutputStream _invoke (String $method,
00034                                 org.omg.CORBA.portable.InputStream in,
00035                                 org.omg.CORBA.portable.ResponseHandler $rh)
00036   {
00037     org.omg.CORBA.portable.OutputStream out = null;
00038     java.lang.Integer __method = (java.lang.Integer)_methods.get ($method);
00039     if (__method == null)
00040       throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
00041 
00042     switch (__method.intValue ())
00043     {
00044 
00046        case 0:  // Sct_CalibrationController/ScanRequest/getScanCorba
00047        {
00048          Sct_SctApi.Scan $result = null;
00049          $result = this.getScanCorba ();
00050          out = $rh.createReply();
00051          Sct_SctApi.ScanHelper.write (out, $result);
00052          break;
00053        }
00054 
00055 
00057        case 1:  // Sct_CalibrationController/ScanRequest/setScanCorba
00058        {
00059          Sct_SctApi.Scan scan = Sct_SctApi.ScanHelper.read (in);
00060          this.setScanCorba (scan);
00061          out = $rh.createReply();
00062          break;
00063        }
00064 
00065 
00067        case 2:  // Sct_CalibrationController/ScanRequest/configureModulesCorba
00068        {
00069          boolean $result = false;
00070          $result = this.configureModulesCorba ();
00071          out = $rh.createReply();
00072          out.write_boolean ($result);
00073          break;
00074        }
00075 
00076 
00078        case 3:  // Sct_CalibrationController/ScanRequest/clockByTwoCorba
00079        {
00080          boolean $result = false;
00081          $result = this.clockByTwoCorba ();
00082          out = $rh.createReply();
00083          out.write_boolean ($result);
00084          break;
00085        }
00086 
00087 
00089        case 4:  // Sct_CalibrationController/ScanRequest/setClockByTwoCorba
00090        {
00091          boolean value = in.read_boolean ();
00092          this.setClockByTwoCorba (value);
00093          out = $rh.createReply();
00094          break;
00095        }
00096 
00097 
00099        case 5:  // Sct_CalibrationController/ScanRequest/isRawCorba
00100        {
00101          boolean $result = false;
00102          $result = this.isRawCorba ();
00103          out = $rh.createReply();
00104          out.write_boolean ($result);
00105          break;
00106        }
00107 
00108 
00110        case 6:  // Sct_CalibrationController/ScanRequest/delayCorba
00111        {
00112          int $result = (int)0;
00113          $result = this.delayCorba ();
00114          out = $rh.createReply();
00115          out.write_long ($result);
00116          break;
00117        }
00118 
00119 
00121        case 7:  // Sct_CalibrationController/ScanRequest/setWidthCorba
00122        {
00123          int value = in.read_long ();
00124          this.setWidthCorba (value);
00125          out = $rh.createReply();
00126          break;
00127        }
00128 
00129 
00131        case 8:  // Sct_CalibrationController/ScanRequest/widthCorba
00132        {
00133          int $result = (int)0;
00134          $result = this.widthCorba ();
00135          out = $rh.createReply();
00136          out.write_long ($result);
00137          break;
00138        }
00139 
00140        default:
00141          throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
00142     }
00143 
00144     return out;
00145   } // _invoke
00146 
00147   // Type-specific CORBA::Object operations
00148   private static String[] __ids = {
00149     "IDL:Sct_CalibrationController/ScanRequest:1.0"};
00150 
00151   public String[] _all_interfaces (org.omg.PortableServer.POA poa, byte[] objectId)
00152   {
00153     return (String[])__ids.clone ();
00154   }
00155 
00156   public ScanRequest _this() 
00157   {
00158     return ScanRequestHelper.narrow(
00159     super._this_object());
00160   }
00161 
00162   public ScanRequest _this(org.omg.CORBA.ORB orb) 
00163   {
00164     return ScanRequestHelper.narrow(
00165     super._this_object(orb));
00166   }
00167 
00168 
00169 } // class ScanRequestPOA

Generated on Mon Feb 21 11:47:37 2005 for SCT DAQ/DCS Software - Java by doxygen 1.3.5