Esempio n. 1
0
            public static IRoleMasterPushPrx checkedCast(Ice.ObjectPrx b)
            {
                if (b == null)
                {
                    return(null);
                }
                IRoleMasterPushPrx r = b as IRoleMasterPushPrx;

                if ((r == null) && b.ice_isA(ice_staticId()))
                {
                    IRoleMasterPushPrxHelper h = new IRoleMasterPushPrxHelper();
                    h.iceCopyFrom(b);
                    r = h;
                }
                return(r);
            }
Esempio n. 2
0
        public static ConverterPrx checkedCast(Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            ConverterPrx r = b as ConverterPrx;

            if ((r == null) && b.ice_isA(ice_staticId()))
            {
                ConverterPrxHelper h = new ConverterPrxHelper();
                h.copyFrom__(b);
                r = h;
            }
            return(r);
        }
Esempio n. 3
0
        public static ConverterPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary <string, string> ctx)
        {
            if (b == null)
            {
                return(null);
            }
            ConverterPrx r = b as ConverterPrx;

            if ((r == null) && b.ice_isA(ice_staticId(), ctx))
            {
                ConverterPrxHelper h = new ConverterPrxHelper();
                h.copyFrom__(b);
                r = h;
            }
            return(r);
        }
Esempio n. 4
0
            public static SessionPrx checkedCast(Ice.ObjectPrx b)
            {
                if (b == null)
                {
                    return(null);
                }
                SessionPrx r = b as SessionPrx;

                if ((r == null) && b.ice_isA(ice_staticId()))
                {
                    SessionPrxHelper h = new SessionPrxHelper();
                    h.copyFrom__(b);
                    r = h;
                }
                return(r);
            }
Esempio n. 5
0
            public static BaseServicePrx checkedCast(Ice.ObjectPrx b)
            {
                if (b == null)
                {
                    return(null);
                }
                BaseServicePrx r = b as BaseServicePrx;

                if ((r == null) && b.ice_isA(ice_staticId()))
                {
                    BaseServicePrxHelper h = new BaseServicePrxHelper();
                    h.copyFrom__(b);
                    r = h;
                }
                return(r);
            }
Esempio n. 6
0
            public static IPlayerCoPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary <string, string> ctx)
            {
                if (b == null)
                {
                    return(null);
                }
                IPlayerCoPrx r = b as IPlayerCoPrx;

                if ((r == null) && b.ice_isA(ice_staticId(), ctx))
                {
                    IPlayerCoPrxHelper h = new IPlayerCoPrxHelper();
                    h.iceCopyFrom(b);
                    r = h;
                }
                return(r);
            }
Esempio n. 7
0
        public static LogServer_RPCPrx checkedCast(Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            LogServer_RPCPrx r = b as LogServer_RPCPrx;

            if ((r == null) && b.ice_isA(ice_staticId()))
            {
                LogServer_RPCPrxHelper h = new LogServer_RPCPrxHelper();
                h.copyFrom__(b);
                r = h;
            }
            return(r);
        }
Esempio n. 8
0
        public static FoupMovePrx checkedCast(Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            FoupMovePrx r = b as FoupMovePrx;

            if ((r == null) && b.ice_isA(ice_staticId()))
            {
                FoupMovePrxHelper h = new FoupMovePrxHelper();
                h.copyFrom__(b);
                r = h;
            }
            return(r);
        }
Esempio n. 9
0
        public static CallbackSenderPrx checkedCast(Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            CallbackSenderPrx r = b as CallbackSenderPrx;

            if ((r == null) && b.ice_isA(ice_staticId()))
            {
                CallbackSenderPrxHelper h = new CallbackSenderPrxHelper();
                h.iceCopyFrom(b);
                r = h;
            }
            return(r);
        }
Esempio n. 10
0
        public static RemoteLogPrx checkedCast(Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            RemoteLogPrx r = b as RemoteLogPrx;

            if ((r == null) && b.ice_isA(ice_staticId()))
            {
                RemoteLogPrxHelper h = new RemoteLogPrxHelper();
                h.copyFrom__(b);
                r = h;
            }
            return(r);
        }
Esempio n. 11
0
        public static CSTransDataFromClientPrx checkedCast(Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            CSTransDataFromClientPrx r = b as CSTransDataFromClientPrx;

            if ((r == null) && b.ice_isA(ice_staticId()))
            {
                CSTransDataFromClientPrxHelper h = new CSTransDataFromClientPrxHelper();
                h.copyFrom__(b);
                r = h;
            }
            return(r);
        }
 public static IMessageServicePrx 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))
         {
             IMessageServicePrxHelper h = new IMessageServicePrxHelper();
             h.copyFrom__(bb);
             return(h);
         }
     }
     catch (Ice.FacetNotExistException)
     {
     }
     return(null);
 }
 public static IMessageServicePrx 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()))
         {
             IMessageServicePrxHelper h = new IMessageServicePrxHelper();
             h.copyFrom__(bb);
             return(h);
         }
     }
     catch (Ice.FacetNotExistException)
     {
     }
     return(null);
 }
Esempio n. 14
0
 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);
 }
Esempio n. 15
0
 public static CallbackReceiverPrx 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))
         {
             CallbackReceiverPrxHelper h = new CallbackReceiverPrxHelper();
             h.iceCopyFrom(bb);
             return(h);
         }
     }
     catch (Ice.FacetNotExistException)
     {
     }
     return(null);
 }