示例#1
0
 public static NodePrx read(global::Ice.InputStream istr)
 {
     global::Ice.ObjectPrx proxy = istr.readProxy();
     if (proxy != null)
     {
         NodePrxHelper result = new NodePrxHelper();
         result.iceCopyFrom(proxy);
         return(result);
     }
     return(null);
 }
示例#2
0
        public static NodePrx uncheckedCast(global::Ice.ObjectPrx b, string f)
        {
            if (b == null)
            {
                return(null);
            }
            global::Ice.ObjectPrx bb = b.ice_facet(f);
            NodePrxHelper         h  = new NodePrxHelper();

            h.iceCopyFrom(bb);
            return(h);
        }
示例#3
0
        public static NodePrx uncheckedCast(global::Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            NodePrx r = b as NodePrx;

            if (r == null)
            {
                NodePrxHelper h = new NodePrxHelper();
                h.iceCopyFrom(b);
                r = h;
            }
            return(r);
        }
示例#4
0
        public static NodePrx checkedCast(global::Ice.ObjectPrx b, global::System.Collections.Generic.Dictionary <string, string> ctx)
        {
            if (b == null)
            {
                return(null);
            }
            NodePrx r = b as NodePrx;

            if ((r == null) && b.ice_isA(ice_staticId(), ctx))
            {
                NodePrxHelper h = new NodePrxHelper();
                h.iceCopyFrom(b);
                r = h;
            }
            return(r);
        }
示例#5
0
 public static NodePrx checkedCast(global::Ice.ObjectPrx b, string f, global::System.Collections.Generic.Dictionary <string, string> ctx)
 {
     if (b == null)
     {
         return(null);
     }
     global::Ice.ObjectPrx bb = b.ice_facet(f);
     try
     {
         if (bb.ice_isA(ice_staticId(), ctx))
         {
             NodePrxHelper h = new NodePrxHelper();
             h.iceCopyFrom(bb);
             return(h);
         }
     }
     catch (global::Ice.FacetNotExistException)
     {
     }
     return(null);
 }
示例#6
0
 public static NodePrx checkedCast(global::Ice.ObjectPrx b, string f)
 {
     if (b == null)
     {
         return(null);
     }
     global::Ice.ObjectPrx bb = b.ice_facet(f);
     try
     {
         if (bb.ice_isA(ice_staticId()))
         {
             NodePrxHelper h = new NodePrxHelper();
             h.iceCopyFrom(bb);
             return(h);
         }
     }
     catch (global::Ice.FacetNotExistException)
     {
     }
     return(null);
 }