コード例 #1
0
            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);
            }
コード例 #2
0
            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);
            }
コード例 #3
0
 public static void write(Ice.OutputStream ostr, IRoleMasterPushPrx v)
 {
     ostr.writeProxy(v);
 }