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