Exemple #1
0
 public static MESLinkPrx read__(IceInternal.BasicStream is__)
 {
     Ice.ObjectPrx proxy = is__.readProxy();
     if (proxy != null)
     {
         MESLinkPrxHelper result = new MESLinkPrxHelper();
         result.copyFrom__(proxy);
         return(result);
     }
     return(null);
 }
Exemple #2
0
        public static MESLinkPrx uncheckedCast(Ice.ObjectPrx b, string f)
        {
            if (b == null)
            {
                return(null);
            }
            Ice.ObjectPrx    bb = b.ice_facet(f);
            MESLinkPrxHelper h  = new MESLinkPrxHelper();

            h.copyFrom__(bb);
            return(h);
        }
Exemple #3
0
        public static MESLinkPrx uncheckedCast(Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            MESLinkPrx r = b as MESLinkPrx;

            if (r == null)
            {
                MESLinkPrxHelper h = new MESLinkPrxHelper();
                h.copyFrom__(b);
                r = h;
            }
            return(r);
        }
Exemple #4
0
        public static MESLinkPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary <string, string> ctx)
        {
            if (b == null)
            {
                return(null);
            }
            MESLinkPrx r = b as MESLinkPrx;

            if ((r == null) && b.ice_isA(ice_staticId(), ctx))
            {
                MESLinkPrxHelper h = new MESLinkPrxHelper();
                h.copyFrom__(b);
                r = h;
            }
            return(r);
        }
Exemple #5
0
        public static MESLinkPrx checkedCast(Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            MESLinkPrx r = b as MESLinkPrx;

            if ((r == null) && b.ice_isA(ice_staticId()))
            {
                MESLinkPrxHelper h = new MESLinkPrxHelper();
                h.copyFrom__(b);
                r = h;
            }
            return(r);
        }
Exemple #6
0
 public static MESLinkPrx 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))
         {
             MESLinkPrxHelper h = new MESLinkPrxHelper();
             h.copyFrom__(bb);
             return(h);
         }
     }
     catch (Ice.FacetNotExistException)
     {
     }
     return(null);
 }
Exemple #7
0
 public static MESLinkPrx 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()))
         {
             MESLinkPrxHelper h = new MESLinkPrxHelper();
             h.copyFrom__(bb);
             return(h);
         }
     }
     catch (Ice.FacetNotExistException)
     {
     }
     return(null);
 }
Exemple #8
0
 public static MESLinkPrx read__(IceInternal.BasicStream is__)
 {
     Ice.ObjectPrx proxy = is__.readProxy();
     if(proxy != null)
     {
         MESLinkPrxHelper result = new MESLinkPrxHelper();
         result.copyFrom__(proxy);
         return result;
     }
     return null;
 }
Exemple #9
0
 public static MESLinkPrx uncheckedCast(Ice.ObjectPrx b, string f)
 {
     if(b == null)
     {
         return null;
     }
     Ice.ObjectPrx bb = b.ice_facet(f);
     MESLinkPrxHelper h = new MESLinkPrxHelper();
     h.copyFrom__(bb);
     return h;
 }
Exemple #10
0
 public static MESLinkPrx uncheckedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     MESLinkPrx r = b as MESLinkPrx;
     if(r == null)
     {
         MESLinkPrxHelper h = new MESLinkPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemple #11
0
 public static MESLinkPrx 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))
         {
             MESLinkPrxHelper h = new MESLinkPrxHelper();
             h.copyFrom__(bb);
             return h;
         }
     }
     catch(Ice.FacetNotExistException)
     {
     }
     return null;
 }
Exemple #12
0
 public static MESLinkPrx 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()))
         {
             MESLinkPrxHelper h = new MESLinkPrxHelper();
             h.copyFrom__(bb);
             return h;
         }
     }
     catch(Ice.FacetNotExistException)
     {
     }
     return null;
 }
Exemple #13
0
 public static MESLinkPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
 {
     if(b == null)
     {
         return null;
     }
     MESLinkPrx r = b as MESLinkPrx;
     if((r == null) && b.ice_isA(ice_staticId(), ctx))
     {
         MESLinkPrxHelper h = new MESLinkPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemple #14
0
 public static MESLinkPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     MESLinkPrx r = b as MESLinkPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         MESLinkPrxHelper h = new MESLinkPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }