public static IRoleMasterPushPrx read(Ice.InputStream istr) { Ice.ObjectPrx proxy = istr.readProxy(); if (proxy != null) { IRoleMasterPushPrxHelper result = new IRoleMasterPushPrxHelper(); result.iceCopyFrom(proxy); return(result); } return(null); }
public static IRoleMasterPushPrx uncheckedCast(Ice.ObjectPrx b, string f) { if (b == null) { return(null); } Ice.ObjectPrx bb = b.ice_facet(f); IRoleMasterPushPrxHelper h = new IRoleMasterPushPrxHelper(); h.iceCopyFrom(bb); return(h); }
public static IRoleMasterPushPrx uncheckedCast(Ice.ObjectPrx b) { if (b == null) { return(null); } IRoleMasterPushPrx r = b as IRoleMasterPushPrx; if (r == null) { IRoleMasterPushPrxHelper h = new IRoleMasterPushPrxHelper(); h.iceCopyFrom(b); r = h; } return(r); }
public static IRoleMasterPushPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary <string, string> ctx) { if (b == null) { return(null); } IRoleMasterPushPrx r = b as IRoleMasterPushPrx; if ((r == null) && b.ice_isA(ice_staticId(), ctx)) { IRoleMasterPushPrxHelper h = new IRoleMasterPushPrxHelper(); h.iceCopyFrom(b); r = h; } return(r); }
public static IRoleMasterPushPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary <string, string> ctx) { if (b == null) { return(null); } Ice.ObjectPrx bb = b.ice_facet(f); try { if (bb.ice_isA(ice_staticId(), ctx)) { IRoleMasterPushPrxHelper h = new IRoleMasterPushPrxHelper(); h.iceCopyFrom(bb); return(h); } } catch (Ice.FacetNotExistException) { } return(null); }
public static IRoleMasterPushPrx checkedCast(Ice.ObjectPrx b, string f) { if (b == null) { return(null); } Ice.ObjectPrx bb = b.ice_facet(f); try { if (bb.ice_isA(ice_staticId())) { IRoleMasterPushPrxHelper h = new IRoleMasterPushPrxHelper(); h.iceCopyFrom(bb); return(h); } } catch (Ice.FacetNotExistException) { } return(null); }