public static Ice.DispatchStatus rotate___(VSTransform obj__, IceInternal.Incoming inS__, Ice.Current current__) { checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.istr(); is__.startReadEncaps(); vsm.VSVector3 translation; translation = new vsm.VSVector3(); translation.read__(is__); is__.endReadEncaps(); obj__.rotate(translation, current__); return Ice.DispatchStatus.DispatchOK; }
public vsm.VSVector3 getPosition(_System.Collections.Generic.Dictionary<string, string> context__) { IceInternal.Outgoing og__ = handler__.getOutgoing("getPosition", Ice.OperationMode.Normal, context__); try { 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(); vsm.VSVector3 ret__; ret__ = new vsm.VSVector3(); ret__.read__(is__); is__.endReadEncaps(); return ret__; } catch(Ice.LocalException ex__) { throw new IceInternal.LocalExceptionWrapper(ex__, false); } } finally { handler__.reclaimOutgoing(og__); } }
public vsm.VSVector3 getPosition(_System.Collections.Generic.Dictionary<string, string> context__) { Ice.Current current__ = new Ice.Current(); initCurrent__(ref current__, "getPosition", Ice.OperationMode.Normal, context__); vsm.VSVector3 result__ = new vsm.VSVector3(); IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) { VSSoldier servant__ = null; try { servant__ = (VSSoldier)obj__; } catch(_System.InvalidCastException) { throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); } result__ = servant__.getPosition(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__; }
public vsm.VSVector3 end_getPosition(Ice.AsyncResult r__) { IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; IceInternal.OutgoingAsync.check__(outAsync__, this, __getPosition_name); if(!outAsync__.wait__()) { try { outAsync__.throwUserException__(); } catch(Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } vsm.VSVector3 ret__; IceInternal.BasicStream is__ = outAsync__.istr__; is__.startReadEncaps(); ret__ = new vsm.VSVector3(); ret__.read__(is__); is__.endReadEncaps(); return ret__; }