Exemplo n.º 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);
 }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 4
0
        public static PrinterPrx uncheckedCast(global::Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            PrinterPrx r = b as PrinterPrx;

            if (r == null)
            {
                PrinterPrxHelper h = new PrinterPrxHelper();
                h.iceCopyFrom(b);
                r = h;
            }
            return(r);
        }
Exemplo n.º 5
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);
        }
Exemplo n.º 6
0
            public static AStockServicePrx uncheckedCast(global::Ice.ObjectPrx b)
            {
                if (b == null)
                {
                    return(null);
                }
                AStockServicePrx r = b as AStockServicePrx;

                if (r == null)
                {
                    AStockServicePrxHelper h = new AStockServicePrxHelper();
                    h.iceCopyFrom(b);
                    r = h;
                }
                return(r);
            }
Exemplo n.º 7
0
        public static PrinterCsharpPrx checkedCast(global::Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            PrinterCsharpPrx r = b as PrinterCsharpPrx;

            if ((r == null) && b.ice_isA(ice_staticId()))
            {
                PrinterCsharpPrxHelper h = new PrinterCsharpPrxHelper();
                h.iceCopyFrom(b);
                r = h;
            }
            return(r);
        }
Exemplo n.º 8
0
        public static WorkerPrx checkedCast(global::Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            WorkerPrx r = b as WorkerPrx;

            if ((r == null) && b.ice_isA(ice_staticId()))
            {
                WorkerPrxHelper h = new WorkerPrxHelper();
                h.iceCopyFrom(b);
                r = h;
            }
            return(r);
        }
Exemplo n.º 9
0
        public static TestCallBackPrx uncheckedCast(global::Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            TestCallBackPrx r = b as TestCallBackPrx;

            if (r == null)
            {
                TestCallBackPrxHelper h = new TestCallBackPrxHelper();
                h.iceCopyFrom(b);
                r = h;
            }
            return(r);
        }
Exemplo n.º 10
0
        public static ManufacturerPrx uncheckedCast(global::Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            ManufacturerPrx r = b as ManufacturerPrx;

            if (r == null)
            {
                ManufacturerPrxHelper h = new ManufacturerPrxHelper();
                h.iceCopyFrom(b);
                r = h;
            }
            return(r);
        }
Exemplo n.º 11
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);
 }
Exemplo n.º 12
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);
 }