示例#1
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__)
 {
     IceInternal.Outgoing og__ = handler__.getOutgoing("getBitmap", Ice.OperationMode.Normal, context__);
     try
     {
         try
         {
             IceInternal.BasicStream os__ = og__.ostr();
             os__.writeFloat(ex);
             os__.writeFloat(ey);
             os__.writeFloat(ez);
             os__.writeFloat(dx);
             os__.writeFloat(dy);
             os__.writeFloat(dz);
             os__.writeFloat(ax);
             os__.writeFloat(ay);
             os__.writeFloat(az);
             os__.writeFloat(timer);
             os__.writeFloat(depthOfField);
             os__.writeFloat(transparentColor);
         }
         catch (Ice.LocalException ex__)
         {
             og__.abort(ex__);
         }
         bool ok__ = og__.invoke();
         try
         {
             if (!ok__)
             {
                 try
                 {
                     og__.throwUserException();
                 }
                 catch (Ice.UserException ex__)
                 {
                     throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
                 }
             }
             IceInternal.BasicStream is__ = og__.istr();
             is__.startReadEncaps();
             byte[] ret__;
             ret__ = is__.readByteSeq();
             is__.endReadEncaps();
             return(ret__);
         }
         catch (Ice.LocalException ex__)
         {
             throw new IceInternal.LocalExceptionWrapper(ex__, false);
         }
     }
     finally
     {
         handler__.reclaimOutgoing(og__);
     }
 }
示例#2
0
 public byte[] end_getBitmap(Ice.AsyncResult r__)
 {
     IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
     IceInternal.OutgoingAsync.check__(outAsync__, this, __getBitmap_name);
     if (!outAsync__.wait__())
     {
         try
         {
             outAsync__.throwUserException__();
         }
         catch (Ice.UserException ex__)
         {
             throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
         }
     }
     byte[] ret__;
     IceInternal.BasicStream is__ = outAsync__.istr__;
     is__.startReadEncaps();
     ret__ = is__.readByteSeq();
     is__.endReadEncaps();
     return(ret__);
 }
示例#3
0
 public static byte[] read(IceInternal.BasicStream is__)
 {
     byte[] v__;
     v__ = is__.readByteSeq();
     return(v__);
 }