internal IceMessageSender(Uri serviceUri)
        {
            var address = string.Format("OrderService:tcp -p {1} -h {0}", serviceUri.Host, serviceUri.Port);

            communicator = Util.initialize();
            proxy        = IMessageServicePrxHelper.checkedCast(communicator.stringToProxy(address));
        }
        internal IceMessageSender(Uri serviceUri)
        {
            var address = string.Format("OrderService:tcp -p {1} -h {0}", serviceUri.Host, serviceUri.Port);

            communicator = Util.initialize();
            proxy = IMessageServicePrxHelper.checkedCast(communicator.stringToProxy(address));
        }
            public static IMessageServicePrx uncheckedCast(Ice.ObjectPrx b)
            {
                if (b == null)
                {
                    return(null);
                }
                IMessageServicePrx r = b as IMessageServicePrx;

                if (r == null)
                {
                    IMessageServicePrxHelper h = new IMessageServicePrxHelper();
                    h.copyFrom__(b);
                    r = h;
                }
                return(r);
            }
            public static IMessageServicePrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary <string, string> ctx)
            {
                if (b == null)
                {
                    return(null);
                }
                IMessageServicePrx r = b as IMessageServicePrx;

                if ((r == null) && b.ice_isA(ice_staticId(), ctx))
                {
                    IMessageServicePrxHelper h = new IMessageServicePrxHelper();
                    h.copyFrom__(b);
                    r = h;
                }
                return(r);
            }
 public static void write__(IceInternal.BasicStream os__, IMessageServicePrx v__)
 {
     os__.writeProxy(v__);
 }
 public static void write__(IceInternal.BasicStream os__, IMessageServicePrx v__)
 {
     os__.writeProxy(v__);
 }