public static Ice.DispatchStatus Send___(IMessageService obj__, IceInternal.Incoming inS__, Ice.Current current__) { checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); IceInternal.ParamPatcher <NProgDistributed.TheIce.MessageDto> message__PP = new IceInternal.ParamPatcher <NProgDistributed.TheIce.MessageDto>(NProgDistributed.TheIce.MessageDto.ice_staticId()); is__.readObject(message__PP); is__.readPendingObjects(); inS__.endReadParams(); NProgDistributed.TheIce.MessageDto ret__ = obj__.Send(message__PP.value, current__); IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); os__.writeObject(ret__); os__.writePendingObjects(); inS__.endWriteParams__(true); return(Ice.DispatchStatus.DispatchOK); }
public NProgDistributed.TheIce.MessageDto end_Send(Ice.AsyncResult r__) { IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; IceInternal.OutgoingAsync.check__(outAsync__, this, __Send_name); bool ok__ = outAsync__.wait__(); try { if (!ok__) { try { outAsync__.throwUserException__(); } catch (Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } NProgDistributed.TheIce.MessageDto ret__; IceInternal.BasicStream is__ = outAsync__.startReadParams__(); IceInternal.ParamPatcher <NProgDistributed.TheIce.MessageDto> ret__PP = new IceInternal.ParamPatcher <NProgDistributed.TheIce.MessageDto>(NProgDistributed.TheIce.MessageDto.ice_staticId()); is__.readObject(ret__PP); is__.readPendingObjects(); outAsync__.endReadParams__(); ret__ = ret__PP.value; return(ret__); } catch (Ice.LocalException ex) { Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); if (obsv__ != null) { obsv__.failed(ex.ice_name()); } throw ex; } }
public BaseServiceHelper(Ice.InputStream inS__) { _in = inS__; _pp = new IceInternal.ParamPatcher <minie.irpc.BaseService>("::minie::irpc::BaseService"); }
public static Ice.DispatchStatus revoke_privilige___(AppService obj__, IceInternal.Incoming inS__, Ice.Current current__) { Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); IceInternal.ParamPatcher<minie.irpc.cm_friend_privilege_rpc> privilege__PP = new IceInternal.ParamPatcher<minie.irpc.cm_friend_privilege_rpc>(minie.irpc.cm_friend_privilege_rpc.ice_staticId()); is__.readObject(privilege__PP); is__.readPendingObjects(); inS__.endReadParams(); int ret__ = obj__.revoke_privilige(privilege__PP.value, current__); IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); os__.writeInt(ret__); inS__.endWriteParams__(true); return Ice.DispatchStatus.DispatchOK; }
public AppServiceHelper(Ice.InputStream inS__) { _in = inS__; _pp = new IceInternal.ParamPatcher<minie.irpc.AppService>("::minie::irpc::AppService"); }
public static Ice.DispatchStatus update_user_info___(AppService obj__, IceInternal.Incoming inS__, Ice.Current current__) { Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); IceInternal.ParamPatcher<minie.irpc.cm_user_rpc> userInfo__PP = new IceInternal.ParamPatcher<minie.irpc.cm_user_rpc>(minie.irpc.cm_user_rpc.ice_staticId()); is__.readObject(userInfo__PP); is__.readPendingObjects(); inS__.endReadParams(); try { int ret__ = obj__.update_user_info(userInfo__PP.value, current__); IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); os__.writeInt(ret__); inS__.endWriteParams__(true); return Ice.DispatchStatus.DispatchOK; } catch(minie.irpc.InvalidDataError ex__) { inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat); return Ice.DispatchStatus.DispatchUserException; } }
public static Ice.DispatchStatus grant_privilige___(AppService obj__, IceInternal.Incoming inS__, Ice.Current current__) { Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); string valid_thru; IceInternal.ParamPatcher<minie.irpc.cm_user_friend_rpc> friend__PP = new IceInternal.ParamPatcher<minie.irpc.cm_user_friend_rpc>(minie.irpc.cm_user_friend_rpc.ice_staticId()); is__.readObject(friend__PP); IceInternal.ParamPatcher<minie.irpc.cm_node_rpc> room__PP = new IceInternal.ParamPatcher<minie.irpc.cm_node_rpc>(minie.irpc.cm_node_rpc.ice_staticId()); is__.readObject(room__PP); valid_thru = is__.readString(); is__.readPendingObjects(); inS__.endReadParams(); minie.irpc.cm_friend_privilege_rpc ret__ = obj__.grant_privilige(friend__PP.value, room__PP.value, valid_thru, current__); IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); os__.writeObject(ret__); os__.writePendingObjects(); inS__.endWriteParams__(true); return Ice.DispatchStatus.DispatchOK; }
public sys_user_rpcHelper(Ice.InputStream inS__) { _in = inS__; _pp = new IceInternal.ParamPatcher<minie.irpc.sys_user_rpc>("::minie::irpc::sys_user_rpc"); }
public minie.irpc.cm_friend_privilege_rpc end_grant_privilige(Ice.AsyncResult r__) { IceInternal.OutgoingAsync outAsync__ = IceInternal.OutgoingAsync.check(r__, this, __grant_privilige_name); try { if(!outAsync__.wait()) { try { outAsync__.throwUserException(); } catch(Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } minie.irpc.cm_friend_privilege_rpc ret__; IceInternal.BasicStream is__ = outAsync__.startReadParams(); IceInternal.ParamPatcher<minie.irpc.cm_friend_privilege_rpc> ret__PP = new IceInternal.ParamPatcher<minie.irpc.cm_friend_privilege_rpc>(minie.irpc.cm_friend_privilege_rpc.ice_staticId()); is__.readObject(ret__PP); is__.readPendingObjects(); outAsync__.endReadParams(); ret__ = ret__PP.value; return ret__; } finally { outAsync__.cacheMessageBuffers(); } }
public NProgDistributed.TheIce.MessageDto Send(NProgDistributed.TheIce.MessageDto message, _System.Collections.Generic.Dictionary <string, string> context__, Ice.Instrumentation.InvocationObserver observer__) { IceInternal.Outgoing og__ = handler__.getOutgoing("Send", Ice.OperationMode.Normal, context__, observer__); try { try { IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); os__.writeObject(message); os__.writePendingObjects(); og__.endWriteParams(); } 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__.startReadParams(); NProgDistributed.TheIce.MessageDto ret__; IceInternal.ParamPatcher <NProgDistributed.TheIce.MessageDto> ret__PP = new IceInternal.ParamPatcher <NProgDistributed.TheIce.MessageDto>(NProgDistributed.TheIce.MessageDto.ice_staticId()); is__.readObject(ret__PP); is__.readPendingObjects(); og__.endReadParams(); ret__ = ret__PP.value; return(ret__); } catch (Ice.LocalException ex__) { throw new IceInternal.LocalExceptionWrapper(ex__, false); } } finally { handler__.reclaimOutgoing(og__); } }
public NProgDistributed.TheIce.MessageDto Send(NProgDistributed.TheIce.MessageDto message, _System.Collections.Generic.Dictionary<string, string> context__, Ice.Instrumentation.InvocationObserver observer__) { IceInternal.Outgoing og__ = handler__.getOutgoing("Send", Ice.OperationMode.Normal, context__, observer__); try { try { IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); os__.writeObject(message); os__.writePendingObjects(); og__.endWriteParams(); } 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__.startReadParams(); NProgDistributed.TheIce.MessageDto ret__; IceInternal.ParamPatcher<NProgDistributed.TheIce.MessageDto> ret__PP = new IceInternal.ParamPatcher<NProgDistributed.TheIce.MessageDto>(NProgDistributed.TheIce.MessageDto.ice_staticId()); is__.readObject(ret__PP); is__.readPendingObjects(); og__.endReadParams(); ret__ = ret__PP.value; return ret__; } catch(Ice.LocalException ex__) { throw new IceInternal.LocalExceptionWrapper(ex__, false); } } finally { handler__.reclaimOutgoing(og__); } }
public Murmur.Tree getTree(_System.Collections.Generic.Dictionary<string, string> context__) { IceInternal.Outgoing og__ = handler__.getOutgoing("getTree", Ice.OperationMode.Idempotent, context__); try { bool ok__ = og__.invoke(); try { if(!ok__) { try { og__.throwUserException(); } catch(Murmur.ServerBootedException) { throw; } catch(Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } IceInternal.BasicStream is__ = og__.istr(); is__.startReadEncaps(); Murmur.Tree ret__; IceInternal.ParamPatcher<Murmur.Tree> ret___PP = new IceInternal.ParamPatcher<Murmur.Tree>("::Murmur::Tree"); is__.readObject(ret___PP); is__.readPendingObjects(); is__.endReadEncaps(); try { ret__ = (Murmur.Tree)ret___PP.value; } catch(System.InvalidCastException) { ret__ = null; IceInternal.Ex.throwUOE(ret___PP.type(), ret___PP.value.ice_id()); } return ret__; } catch(Ice.LocalException ex__) { throw new IceInternal.LocalExceptionWrapper(ex__, false); } } finally { handler__.reclaimOutgoing(og__); } }
public SessionHelper(Ice.InputStream inS__) { _in = inS__; _pp = new IceInternal.ParamPatcher <minie.irpc.Session>("::minie::irpc::Session"); }
public static Ice.DispatchStatus update_sys_user___(BackendService obj__, IceInternal.Incoming inS__, Ice.Current current__) { Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); IceInternal.ParamPatcher<minie.irpc.sys_user_rpc> user__PP = new IceInternal.ParamPatcher<minie.irpc.sys_user_rpc>(minie.irpc.sys_user_rpc.ice_staticId()); is__.readObject(user__PP); is__.readPendingObjects(); inS__.endReadParams(); int ret__ = obj__.update_sys_user(user__PP.value, current__); IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); os__.writeInt(ret__); inS__.endWriteParams__(true); return Ice.DispatchStatus.DispatchOK; }
public BackendAuthHelper(Ice.InputStream inS__) { _in = inS__; _pp = new IceInternal.ParamPatcher<minie.irpc.BackendAuth>("::minie::irpc::BackendAuth"); }
public SessionHelper(Ice.InputStream inS__) { _in = inS__; _pp = new IceInternal.ParamPatcher<minie.irpc.Session>("::minie::irpc::Session"); }
public Murmur.Tree end_getTree(Ice.AsyncResult r__) { IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; IceInternal.OutgoingAsync.check__(outAsync__, this, __getTree_name); if(!outAsync__.wait__()) { try { outAsync__.throwUserException__(); } catch(Murmur.InvalidSecretException) { throw; } catch(Murmur.ServerBootedException) { throw; } catch(Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } Murmur.Tree ret__; IceInternal.BasicStream is__ = outAsync__.istr__; is__.startReadEncaps(); IceInternal.ParamPatcher<Murmur.Tree>ret___PP = new IceInternal.ParamPatcher<Murmur.Tree>("::Murmur::Tree"); is__.readObject(ret___PP); is__.readPendingObjects(); is__.endReadEncaps(); ret__ = (Murmur.Tree)ret___PP.value; return ret__; }
public static Ice.DispatchStatus Send___(IMessageService obj__, IceInternal.Incoming inS__, Ice.Current current__) { checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); IceInternal.ParamPatcher<NProgDistributed.TheIce.MessageDto> message__PP = new IceInternal.ParamPatcher<NProgDistributed.TheIce.MessageDto>(NProgDistributed.TheIce.MessageDto.ice_staticId()); is__.readObject(message__PP); is__.readPendingObjects(); inS__.endReadParams(); NProgDistributed.TheIce.MessageDto ret__ = obj__.Send(message__PP.value, current__); IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); os__.writeObject(ret__); os__.writePendingObjects(); inS__.endWriteParams__(true); return Ice.DispatchStatus.DispatchOK; }
public cm_entrance_rpcHelper(Ice.InputStream inS__) { _in = inS__; _pp = new IceInternal.ParamPatcher<minie.irpc.cm_entrance_rpc>("::minie::irpc::cm_entrance_rpc"); }
public NProgDistributed.TheIce.MessageDto end_Send(Ice.AsyncResult r__) { IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; IceInternal.OutgoingAsync.check__(outAsync__, this, __Send_name); bool ok__ = outAsync__.wait__(); try { if(!ok__) { try { outAsync__.throwUserException__(); } catch(Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } NProgDistributed.TheIce.MessageDto ret__; IceInternal.BasicStream is__ = outAsync__.startReadParams__(); IceInternal.ParamPatcher<NProgDistributed.TheIce.MessageDto> ret__PP = new IceInternal.ParamPatcher<NProgDistributed.TheIce.MessageDto>(NProgDistributed.TheIce.MessageDto.ice_staticId()); is__.readObject(ret__PP); is__.readPendingObjects(); outAsync__.endReadParams__(); ret__ = ret__PP.value; return ret__; } catch(Ice.LocalException ex) { Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); if(obsv__ != null) { obsv__.failed(ex.ice_name()); } throw ex; } }