Ejemplo n.º 1
0
        private string helloWorld(string something, _System.Collections.Generic.Dictionary <string, string> context__, bool explicitContext__)
        {
            if (explicitContext__ && context__ == null)
            {
                context__ = emptyContext_;
            }
            int cnt__ = 0;

            while (true)
            {
                Ice.ObjectDel_ delBase__ = null;
                try
                {
                    checkTwowayOnly__("helloWorld");
                    delBase__ = getDelegate__(false);
                    BitmapProviderDel_ del__ = (BitmapProviderDel_)delBase__;
                    return(del__.helloWorld(something, context__));
                }
                catch (IceInternal.LocalExceptionWrapper ex__)
                {
                    handleExceptionWrapper__(delBase__, ex__);
                }
                catch (Ice.LocalException ex__)
                {
                    handleException__(delBase__, ex__, true, ref cnt__);
                }
            }
        }
Ejemplo n.º 2
0
        private byte[] getBitmap(float ex, float ey, float ez, float dx, float dy, float dz, float ax, float ay, float az, float timer, float depthOfField, float transparentColor, _System.Collections.Generic.Dictionary <string, string> context__, bool explicitContext__)
        {
            if (explicitContext__ && context__ == null)
            {
                context__ = emptyContext_;
            }
            int cnt__ = 0;

            while (true)
            {
                Ice.ObjectDel_ delBase__ = null;
                try
                {
                    checkTwowayOnly__("getBitmap");
                    delBase__ = getDelegate__(false);
                    BitmapProviderDel_ del__ = (BitmapProviderDel_)delBase__;
                    return(del__.getBitmap(ex, ey, ez, dx, dy, dz, ax, ay, az, timer, depthOfField, transparentColor, context__));
                }
                catch (IceInternal.LocalExceptionWrapper ex__)
                {
                    handleExceptionWrapper__(delBase__, ex__);
                }
                catch (Ice.LocalException ex__)
                {
                    handleException__(delBase__, ex__, true, ref cnt__);
                }
            }
        }