Esempio n. 1
0
 public void move(vsm.VSDirection direction, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     move(direction, context__, true);
 }
Esempio n. 2
0
 public Ice.AsyncResult begin_register(vsm.network.VSClientPrx client, Ice.AsyncCallback cb__, object cookie__)
 {
     return begin_register(client, null, false, cb__, cookie__);
 }
Esempio n. 3
0
 private Ice.AsyncResult<vsm.network.Callback_VSServer_register> begin_register(vsm.network.VSClientPrx client, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
 {
     checkAsyncTwowayOnly__(__register_name);
     IceInternal.TwowayOutgoingAsync<vsm.network.Callback_VSServer_register> result__ =  new IceInternal.TwowayOutgoingAsync<vsm.network.Callback_VSServer_register>(this, __register_name, register_completed__, cookie__);
     if(cb__ != null)
     {
         result__.whenCompletedWithAsyncCallback(cb__);
     }
     try
     {
         result__.prepare__(__register_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
         IceInternal.BasicStream os__ = result__.ostr__;
         vsm.network.VSClientPrxHelper.write__(os__, client);
         os__.endWriteEncaps();
         result__.send__(true);
     }
     catch(Ice.LocalException ex__)
     {
         result__.exceptionAsync__(ex__);
     }
     return result__;
 }
Esempio n. 4
0
 public void register(vsm.network.VSClientPrx client, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     register(client, context__, true);
 }
Esempio n. 5
0
 public Ice.AsyncResult<vsm.network.Callback_VSServer_register> begin_register(vsm.network.VSClientPrx client)
 {
     return begin_register(client, null, false, null, null);
 }
Esempio n. 6
0
 public void register(vsm.network.VSClientPrx client)
 {
     register(client, Ice.ObjectImpl.defaultCurrent);
 }
Esempio n. 7
0
 private void getClientType_completed__(Ice.AsyncResult r__, vsm.network.Callback_VSClient_getClientType cb__, Ice.ExceptionCallback excb__)
 {
     vsm.network.ClientType ret__;
     try
     {
         ret__ = end_getClientType(r__);
     }
     catch(Ice.Exception ex__)
     {
         if(excb__ != null)
         {
             excb__(ex__);
         }
         return;
     }
     if(cb__ != null)
     {
         cb__(ret__);
     }
 }
Esempio n. 8
0
 public void translate(vsm.VSVector3 translation, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     translate(translation, context__, true);
 }
Esempio n. 9
0
 private void translate(vsm.VSVector3 translation, _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
         {
             delBase__ = getDelegate__(false);
             VSTransformDel_ del__ = (VSTransformDel_)delBase__;
             del__.translate(translation, context__);
             return;
         }
         catch(IceInternal.LocalExceptionWrapper ex__)
         {
             handleExceptionWrapper__(delBase__, ex__);
         }
         catch(Ice.LocalException ex__)
         {
             handleException__(delBase__, ex__, true, ref cnt__);
         }
     }
 }
Esempio n. 10
0
 public abstract void rotate(vsm.VSVector3 translation, Ice.Current current__);
Esempio n. 11
0
 public void translate(vsm.VSVector3 translation)
 {
     translate(translation, null, false);
 }
Esempio n. 12
0
 public void rotate(vsm.VSVector3 translation)
 {
     rotate(translation, Ice.ObjectImpl.defaultCurrent);
 }
Esempio n. 13
0
 public void translate(vsm.VSVector3 translation, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     Ice.Current current__ = new Ice.Current();
     initCurrent__(ref current__, "translate", Ice.OperationMode.Normal, context__);
     IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
     {
         VSTransform servant__ = null;
         try
         {
             servant__ = (VSTransform)obj__;
         }
         catch(_System.InvalidCastException)
         {
             throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
         }
         servant__.translate(translation, 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__);
     }
 }
Esempio n. 14
0
 private void crounch_completed__(vsm.unity.Callback_VSSoldier_crounch cb__)
 {
     if(cb__ != null)
     {
         cb__();
     }
 }
Esempio n. 15
0
 public void register(vsm.network.VSClientPrx client, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     IceInternal.Outgoing og__ = handler__.getOutgoing("register", Ice.OperationMode.Normal, context__);
     try
     {
         try
         {
             IceInternal.BasicStream os__ = og__.ostr();
             vsm.network.VSClientPrxHelper.write__(os__, client);
         }
         catch(Ice.LocalException ex__)
         {
             og__.abort(ex__);
         }
         bool ok__ = og__.invoke();
         try
         {
             if(!ok__)
             {
                 try
                 {
                     og__.throwUserException();
                 }
                 catch(vsm.network.AlreadyConnectedException)
                 {
                     throw;
                 }
                 catch(Ice.UserException ex__)
                 {
                     throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
                 }
             }
             og__.istr().skipEmptyEncaps();
         }
         catch(Ice.LocalException ex__)
         {
             throw new IceInternal.LocalExceptionWrapper(ex__, false);
         }
     }
     finally
     {
         handler__.reclaimOutgoing(og__);
     }
 }
Esempio n. 16
0
 public Ice.AsyncResult<vsm.component.Callback_VSTransform_translate> begin_translate(vsm.VSVector3 translation)
 {
     return begin_translate(translation, null, false, null, null);
 }
Esempio n. 17
0
 public void register(vsm.network.VSClientPrx client, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     Ice.Current current__ = new Ice.Current();
     initCurrent__(ref current__, "register", Ice.OperationMode.Normal, context__);
     Ice.UserException userException__ = null;
     IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
     {
         VSServer servant__ = null;
         try
         {
             servant__ = (VSServer)obj__;
         }
         catch(_System.InvalidCastException)
         {
             throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
         }
         try
         {
             servant__.register(client, current__);
             return Ice.DispatchStatus.DispatchOK;
         }
         catch(Ice.UserException ex__)
         {
             userException__ = ex__;
             return Ice.DispatchStatus.DispatchUserException;
         }
     };
     IceInternal.Direct direct__ = null;
     try
     {
         direct__ = new IceInternal.Direct(current__, run__);
         try
         {
             Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
             if(status__ == Ice.DispatchStatus.DispatchUserException)
             {
                 throw userException__;
             }
             _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
         }
         finally
         {
             direct__.destroy();
         }
     }
     catch(vsm.network.AlreadyConnectedException)
     {
         throw;
     }
     catch(Ice.SystemException)
     {
         throw;
     }
     catch(_System.Exception ex__)
     {
         IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
     }
 }
Esempio n. 18
0
 public Ice.AsyncResult<vsm.component.Callback_VSTransform_translate> begin_translate(vsm.VSVector3 translation, _System.Collections.Generic.Dictionary<string, string> ctx__)
 {
     return begin_translate(translation, ctx__, true, null, null);
 }
Esempio n. 19
0
 public abstract void register(vsm.network.VSClientPrx client, Ice.Current current__);
Esempio n. 20
0
 public Ice.AsyncResult begin_translate(vsm.VSVector3 translation, Ice.AsyncCallback cb__, object cookie__)
 {
     return begin_translate(translation, null, false, cb__, cookie__);
 }
Esempio n. 21
0
 public void register(vsm.network.VSClientPrx client)
 {
     register(client, null, false);
 }
Esempio n. 22
0
 public Ice.AsyncResult begin_translate(vsm.VSVector3 translation, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
 {
     return begin_translate(translation, ctx__, true, cb__, cookie__);
 }
Esempio n. 23
0
 private void register(vsm.network.VSClientPrx client, _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__("register");
             delBase__ = getDelegate__(false);
             VSServerDel_ del__ = (VSServerDel_)delBase__;
             del__.register(client, context__);
             return;
         }
         catch(IceInternal.LocalExceptionWrapper ex__)
         {
             handleExceptionWrapper__(delBase__, ex__);
         }
         catch(Ice.LocalException ex__)
         {
             handleException__(delBase__, ex__, true, ref cnt__);
         }
     }
 }
Esempio n. 24
0
 private Ice.AsyncResult<vsm.component.Callback_VSTransform_translate> begin_translate(vsm.VSVector3 translation, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
 {
     IceInternal.OnewayOutgoingAsync<vsm.component.Callback_VSTransform_translate> result__ = new IceInternal.OnewayOutgoingAsync<vsm.component.Callback_VSTransform_translate>(this, __translate_name, translate_completed__, cookie__);
     if(cb__ != null)
     {
         result__.whenCompletedWithAsyncCallback(cb__);
     }
     try
     {
         result__.prepare__(__translate_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
         IceInternal.BasicStream os__ = result__.ostr__;
         translation.write__(os__);
         os__.endWriteEncaps();
         result__.send__(true);
     }
     catch(Ice.LocalException ex__)
     {
         result__.exceptionAsync__(ex__);
     }
     return result__;
 }
Esempio n. 25
0
 public Ice.AsyncResult<vsm.network.Callback_VSServer_register> begin_register(vsm.network.VSClientPrx client, _System.Collections.Generic.Dictionary<string, string> ctx__)
 {
     return begin_register(client, ctx__, true, null, null);
 }
Esempio n. 26
0
 private void translate_completed__(vsm.component.Callback_VSTransform_translate cb__)
 {
     if(cb__ != null)
     {
         cb__();
     }
 }
Esempio n. 27
0
 public Ice.AsyncResult begin_register(vsm.network.VSClientPrx client, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
 {
     return begin_register(client, ctx__, true, cb__, cookie__);
 }
Esempio n. 28
0
 public void rotate(vsm.VSVector3 translation, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     IceInternal.Outgoing og__ = handler__.getOutgoing("rotate", Ice.OperationMode.Normal, context__);
     try
     {
         try
         {
             IceInternal.BasicStream os__ = og__.ostr();
             translation.write__(os__);
         }
         catch(Ice.LocalException ex__)
         {
             og__.abort(ex__);
         }
         bool ok__ = og__.invoke();
         if(!og__.istr().isEmpty())
         {
             try
             {
                 if(!ok__)
                 {
                     try
                     {
                         og__.throwUserException();
                     }
                     catch(Ice.UserException ex__)
                     {
                         throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
                     }
                 }
                 og__.istr().skipEmptyEncaps();
             }
             catch(Ice.LocalException ex__)
             {
                 throw new IceInternal.LocalExceptionWrapper(ex__, false);
             }
         }
     }
     finally
     {
         handler__.reclaimOutgoing(og__);
     }
 }
Esempio n. 29
0
 private void register_completed__(Ice.AsyncResult r__, vsm.network.Callback_VSServer_register cb__, Ice.ExceptionCallback excb__)
 {
     try
     {
         end_register(r__);
     }
     catch(Ice.Exception ex__)
     {
         if(excb__ != null)
         {
             excb__(ex__);
         }
         return;
     }
     if(cb__ != null)
     {
         cb__();
     }
 }
Esempio n. 30
0
 public void move(vsm.VSDirection direction)
 {
     move(direction, null, false);
 }