Exemple #1
0
        public static Ice.DispatchStatus getBitmap___(BitmapProvider obj__, IceInternal.Incoming inS__, Ice.Current current__)
        {
            checkMode__(Ice.OperationMode.Normal, current__.mode);
            IceInternal.BasicStream is__ = inS__.istr();
            is__.startReadEncaps();
            float ex;

            ex = is__.readFloat();
            float ey;

            ey = is__.readFloat();
            float ez;

            ez = is__.readFloat();
            float dx;

            dx = is__.readFloat();
            float dy;

            dy = is__.readFloat();
            float dz;

            dz = is__.readFloat();
            float ax;

            ax = is__.readFloat();
            float ay;

            ay = is__.readFloat();
            float az;

            az = is__.readFloat();
            float timer;

            timer = is__.readFloat();
            float depthOfField;

            depthOfField = is__.readFloat();
            float transparentColor;

            transparentColor = is__.readFloat();
            is__.endReadEncaps();
            IceInternal.BasicStream os__ = inS__.ostr();
            byte[] ret__ = obj__.getBitmap(ex, ey, ez, dx, dy, dz, ax, ay, az, timer, depthOfField, transparentColor, current__);
            os__.writeByteSeq(ret__);
            return(Ice.DispatchStatus.DispatchOK);
        }
Exemple #2
0
 public 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__)
 {
     Ice.Current current__ = new Ice.Current();
     initCurrent__(ref current__, "getBitmap", Ice.OperationMode.Normal, context__);
     byte[] result__ = null;
     IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
     {
         BitmapProvider servant__ = null;
         try
         {
             servant__ = (BitmapProvider)obj__;
         }
         catch (_System.InvalidCastException)
         {
             throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
         }
         result__ = servant__.getBitmap(ex, ey, ez, dx, dy, dz, ax, ay, az, timer, depthOfField, transparentColor, current__);
         return(Ice.DispatchStatus.DispatchOK);
     };
     IceInternal.Direct direct__ = null;
     try
     {
         direct__ = new IceInternal.Direct(current__, run__);
         try
         {
             Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
             _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
         }
         finally
         {
             direct__.destroy();
         }
     }
     catch (Ice.SystemException)
     {
         throw;
     }
     catch (_System.Exception ex__)
     {
         IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
     }
     return(result__);
 }