00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 package comedyarch.autogen;
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 public final class TwoLinerPrxHelper extends Ice.ObjectPrxHelperBase implements TwoLinerPrx
00024 {
00025 public static TwoLinerPrx
00026 checkedCast(Ice.ObjectPrx __obj)
00027 {
00028 TwoLinerPrx __d = null;
00029 if(__obj != null)
00030 {
00031 try
00032 {
00033 __d = (TwoLinerPrx)__obj;
00034 }
00035 catch(ClassCastException ex)
00036 {
00037 if(__obj.ice_isA("::comedyarch::autogen::TwoLiner"))
00038 {
00039 TwoLinerPrxHelper __h = new TwoLinerPrxHelper();
00040 __h.__copyFrom(__obj);
00041 __d = __h;
00042 }
00043 }
00044 }
00045 return __d;
00046 }
00047
00048 public static TwoLinerPrx
00049 checkedCast(Ice.ObjectPrx __obj, java.util.Map<String, String> __ctx)
00050 {
00051 TwoLinerPrx __d = null;
00052 if(__obj != null)
00053 {
00054 try
00055 {
00056 __d = (TwoLinerPrx)__obj;
00057 }
00058 catch(ClassCastException ex)
00059 {
00060 if(__obj.ice_isA("::comedyarch::autogen::TwoLiner", __ctx))
00061 {
00062 TwoLinerPrxHelper __h = new TwoLinerPrxHelper();
00063 __h.__copyFrom(__obj);
00064 __d = __h;
00065 }
00066 }
00067 }
00068 return __d;
00069 }
00070
00071 public static TwoLinerPrx
00072 checkedCast(Ice.ObjectPrx __obj, String __facet)
00073 {
00074 TwoLinerPrx __d = null;
00075 if(__obj != null)
00076 {
00077 Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
00078 try
00079 {
00080 if(__bb.ice_isA("::comedyarch::autogen::TwoLiner"))
00081 {
00082 TwoLinerPrxHelper __h = new TwoLinerPrxHelper();
00083 __h.__copyFrom(__bb);
00084 __d = __h;
00085 }
00086 }
00087 catch(Ice.FacetNotExistException ex)
00088 {
00089 }
00090 }
00091 return __d;
00092 }
00093
00094 public static TwoLinerPrx
00095 checkedCast(Ice.ObjectPrx __obj, String __facet, java.util.Map<String, String> __ctx)
00096 {
00097 TwoLinerPrx __d = null;
00098 if(__obj != null)
00099 {
00100 Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
00101 try
00102 {
00103 if(__bb.ice_isA("::comedyarch::autogen::TwoLiner", __ctx))
00104 {
00105 TwoLinerPrxHelper __h = new TwoLinerPrxHelper();
00106 __h.__copyFrom(__bb);
00107 __d = __h;
00108 }
00109 }
00110 catch(Ice.FacetNotExistException ex)
00111 {
00112 }
00113 }
00114 return __d;
00115 }
00116
00117 public static TwoLinerPrx
00118 uncheckedCast(Ice.ObjectPrx __obj)
00119 {
00120 TwoLinerPrx __d = null;
00121 if(__obj != null)
00122 {
00123 try
00124 {
00125 __d = (TwoLinerPrx)__obj;
00126 }
00127 catch(ClassCastException ex)
00128 {
00129 TwoLinerPrxHelper __h = new TwoLinerPrxHelper();
00130 __h.__copyFrom(__obj);
00131 __d = __h;
00132 }
00133 }
00134 return __d;
00135 }
00136
00137 public static TwoLinerPrx
00138 uncheckedCast(Ice.ObjectPrx __obj, String __facet)
00139 {
00140 TwoLinerPrx __d = null;
00141 if(__obj != null)
00142 {
00143 Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
00144 TwoLinerPrxHelper __h = new TwoLinerPrxHelper();
00145 __h.__copyFrom(__bb);
00146 __d = __h;
00147 }
00148 return __d;
00149 }
00150
00151 protected Ice._ObjectDelM
00152 __createDelegateM()
00153 {
00154 return new _TwoLinerDelM();
00155 }
00156
00157 protected Ice._ObjectDelD
00158 __createDelegateD()
00159 {
00160 return new _TwoLinerDelD();
00161 }
00162
00163 public static void
00164 __write(IceInternal.BasicStream __os, TwoLinerPrx v)
00165 {
00166 __os.writeProxy(v);
00167 }
00168
00169 public static TwoLinerPrx
00170 __read(IceInternal.BasicStream __is)
00171 {
00172 Ice.ObjectPrx proxy = __is.readProxy();
00173 if(proxy != null)
00174 {
00175 TwoLinerPrxHelper result = new TwoLinerPrxHelper();
00176 result.__copyFrom(proxy);
00177 return result;
00178 }
00179 return null;
00180 }
00181
00182 public static void
00183 write(Ice.OutputStream __outS, TwoLinerPrx v)
00184 {
00185 __outS.writeProxy(v);
00186 }
00187
00188 public static TwoLinerPrx
00189 read(Ice.InputStream __inS)
00190 {
00191 Ice.ObjectPrx proxy = __inS.readProxy();
00192 if(proxy != null)
00193 {
00194 TwoLinerPrxHelper result = new TwoLinerPrxHelper();
00195 result.__copyFrom(proxy);
00196 return result;
00197 }
00198 return null;
00199 }
00200 }