00001 package Sct_SctApi;
00002
00003
00012
00013 public class _ModifyABCDMethodsStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.ModifyABCDMethods
00014 {
00015
00016 public void modifyABCDMask (int mid, int[] mask)
00017 {
00018 org.omg.CORBA.portable.InputStream $in = null;
00019 try {
00020 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDMask", true);
00021 $out.write_ulong (mid);
00022 Sct_SctApi.DataBlockHelper.write ($out, mask);
00023 $in = _invoke ($out);
00024 return;
00025 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00026 $in = $ex.getInputStream ();
00027 String _id = $ex.getId ();
00028 throw new org.omg.CORBA.MARSHAL (_id);
00029 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00030 modifyABCDMask (mid, mask );
00031 } finally {
00032 _releaseReply ($in);
00033 }
00034 }
00035
00036 public void modifyABCDTrims (int mid, short[] trims)
00037 {
00038 org.omg.CORBA.portable.InputStream $in = null;
00039 try {
00040 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDTrims", true);
00041 $out.write_ulong (mid);
00042 Sct_SctApi.CharBlockHelper.write ($out, trims);
00043 $in = _invoke ($out);
00044 return;
00045 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00046 $in = $ex.getInputStream ();
00047 String _id = $ex.getId ();
00048 throw new org.omg.CORBA.MARSHAL (_id);
00049 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00050 modifyABCDTrims (mid, trims );
00051 } finally {
00052 _releaseReply ($in);
00053 }
00054 }
00055
00056 public void modifyABCDRC (int mid, int chip, short index, double p0, double p1, double p2)
00057 {
00058 org.omg.CORBA.portable.InputStream $in = null;
00059 try {
00060 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDRC", true);
00061 $out.write_ulong (mid);
00062 $out.write_ulong (chip);
00063 $out.write_ushort (index);
00064 $out.write_double (p0);
00065 $out.write_double (p1);
00066 $out.write_double (p2);
00067 $in = _invoke ($out);
00068 return;
00069 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00070 $in = $ex.getInputStream ();
00071 String _id = $ex.getId ();
00072 throw new org.omg.CORBA.MARSHAL (_id);
00073 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00074 modifyABCDRC (mid, chip, index, p0, p1, p2 );
00075 } finally {
00076 _releaseReply ($in);
00077 }
00078 }
00079
00080
00081
00082 public void modifyABCDVar (int typ, double var)
00083 {
00084 org.omg.CORBA.portable.InputStream $in = null;
00085 try {
00086 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDVar", true);
00087 $out.write_ulong (typ);
00088 $out.write_double (var);
00089 $in = _invoke ($out);
00090 return;
00091 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00092 $in = $ex.getInputStream ();
00093 String _id = $ex.getId ();
00094 throw new org.omg.CORBA.MARSHAL (_id);
00095 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00096 modifyABCDVar (typ, var );
00097 } finally {
00098 _releaseReply ($in);
00099 }
00100 }
00101
00102 public void modifyABCDModuleVar (int mid, int typ, double var)
00103 {
00104 org.omg.CORBA.portable.InputStream $in = null;
00105 try {
00106 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDModuleVar", true);
00107 $out.write_ulong (mid);
00108 $out.write_ulong (typ);
00109 $out.write_double (var);
00110 $in = _invoke ($out);
00111 return;
00112 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00113 $in = $ex.getInputStream ();
00114 String _id = $ex.getId ();
00115 throw new org.omg.CORBA.MARSHAL (_id);
00116 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00117 modifyABCDModuleVar (mid, typ, var );
00118 } finally {
00119 _releaseReply ($in);
00120 }
00121 }
00122
00123 public void modifyABCDChipVar (int mid, int chip, int typ, double var)
00124 {
00125 org.omg.CORBA.portable.InputStream $in = null;
00126 try {
00127 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDChipVar", true);
00128 $out.write_ulong (mid);
00129 $out.write_ulong (chip);
00130 $out.write_ulong (typ);
00131 $out.write_double (var);
00132 $in = _invoke ($out);
00133 return;
00134 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00135 $in = $ex.getInputStream ();
00136 String _id = $ex.getId ();
00137 throw new org.omg.CORBA.MARSHAL (_id);
00138 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00139 modifyABCDChipVar (mid, chip, typ, var );
00140 } finally {
00141 _releaseReply ($in);
00142 }
00143 }
00144
00145 public void modifyABCDVarAllModulesOneChip (int chip, int typ, double var)
00146 {
00147 org.omg.CORBA.portable.InputStream $in = null;
00148 try {
00149 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDVarAllModulesOneChip", true);
00150 $out.write_ulong (chip);
00151 $out.write_ulong (typ);
00152 $out.write_double (var);
00153 $in = _invoke ($out);
00154 return;
00155 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00156 $in = $ex.getInputStream ();
00157 String _id = $ex.getId ();
00158 throw new org.omg.CORBA.MARSHAL (_id);
00159 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00160 modifyABCDVarAllModulesOneChip (chip, typ, var );
00161 } finally {
00162 _releaseReply ($in);
00163 }
00164 }
00165
00166 public void modifyABCDVarROD (int typ, double var, Sct_SctApi.BankType[] banks)
00167 {
00168 org.omg.CORBA.portable.InputStream $in = null;
00169 try {
00170 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDVarROD", true);
00171 $out.write_ulong (typ);
00172 $out.write_double (var);
00173 Sct_SctApi.BankListHelper.write ($out, banks);
00174 $in = _invoke ($out);
00175 return;
00176 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00177 $in = $ex.getInputStream ();
00178 String _id = $ex.getId ();
00179 throw new org.omg.CORBA.MARSHAL (_id);
00180 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00181 modifyABCDVarROD (typ, var, banks );
00182 } finally {
00183 _releaseReply ($in);
00184 }
00185 }
00186
00187 public void modifyABCDModuleVarROD (int mid, int typ, double var, Sct_SctApi.BankType[] banks)
00188 {
00189 org.omg.CORBA.portable.InputStream $in = null;
00190 try {
00191 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDModuleVarROD", true);
00192 $out.write_ulong (mid);
00193 $out.write_ulong (typ);
00194 $out.write_double (var);
00195 Sct_SctApi.BankListHelper.write ($out, banks);
00196 $in = _invoke ($out);
00197 return;
00198 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00199 $in = $ex.getInputStream ();
00200 String _id = $ex.getId ();
00201 throw new org.omg.CORBA.MARSHAL (_id);
00202 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00203 modifyABCDModuleVarROD (mid, typ, var, banks );
00204 } finally {
00205 _releaseReply ($in);
00206 }
00207 }
00208
00209 public void modifyBOCParam (int partition, int crate, int rod, int channel, int type, int val)
00210 {
00211 org.omg.CORBA.portable.InputStream $in = null;
00212 try {
00213 org.omg.CORBA.portable.OutputStream $out = _request ("modifyBOCParam", true);
00214 $out.write_ulong (partition);
00215 $out.write_ulong (crate);
00216 $out.write_ulong (rod);
00217 $out.write_ulong (channel);
00218 $out.write_ulong (type);
00219 $out.write_ulong (val);
00220 $in = _invoke ($out);
00221 return;
00222 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00223 $in = $ex.getInputStream ();
00224 String _id = $ex.getId ();
00225 throw new org.omg.CORBA.MARSHAL (_id);
00226 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00227 modifyBOCParam (partition, crate, rod, channel, type, val );
00228 } finally {
00229 _releaseReply ($in);
00230 }
00231 }
00232
00233
00234 private static String[] __ids = {
00235 "IDL:Sct_SctApi/ModifyABCDMethods:1.0"};
00236
00237 public String[] _ids ()
00238 {
00239 return (String[])__ids.clone ();
00240 }
00241
00242 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00243 {
00244 String str = s.readUTF ();
00245 String[] args = null;
00246 java.util.Properties props = null;
00247 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00248 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00249 _set_delegate (delegate);
00250 }
00251
00252 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00253 {
00254 String[] args = null;
00255 java.util.Properties props = null;
00256 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00257 s.writeUTF (str);
00258 }
00259 }