public static Ice.DispatchStatus setCurrentKFConfig___(KP obj__, IceInternal.Incoming inS__, Ice.Current current__) { checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.istr(); is__.startReadEncaps(); KeeICE.KPlib.KFConfiguration config; config = null; if(config == null) { config = new KeeICE.KPlib.KFConfiguration(); } config.read__(is__); is__.endReadEncaps(); IceInternal.BasicStream os__ = inS__.ostr(); bool ret__ = obj__.setCurrentKFConfig(config, current__); os__.writeBool(ret__); return Ice.DispatchStatus.DispatchOK; }
public static Ice.DispatchStatus getCurrentKFConfig___(KP obj__, IceInternal.Incoming inS__, Ice.Current current__) { checkMode__(Ice.OperationMode.Normal, current__.mode); inS__.istr().skipEmptyEncaps(); IceInternal.BasicStream os__ = inS__.ostr(); KeeICE.KPlib.KFConfiguration ret__ = obj__.getCurrentKFConfig(current__); if(ret__ == null) { KeeICE.KPlib.KFConfiguration tmp__ = new KeeICE.KPlib.KFConfiguration(); tmp__.write__(os__); } else { ret__.write__(os__); } return Ice.DispatchStatus.DispatchOK; }
public bool setCurrentKFConfig(KeeICE.KPlib.KFConfiguration config, _System.Collections.Generic.Dictionary<string, string> context__) { IceInternal.Outgoing og__ = handler__.getOutgoing("setCurrentKFConfig", Ice.OperationMode.Normal, context__); try { try { IceInternal.BasicStream os__ = og__.ostr(); if(config == null) { KeeICE.KPlib.KFConfiguration tmp__ = new KeeICE.KPlib.KFConfiguration(); tmp__.write__(os__); } else { config.write__(os__); } } 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(); bool ret__; ret__ = is__.readBool(); is__.endReadEncaps(); return ret__; } catch(Ice.LocalException ex__) { throw new IceInternal.LocalExceptionWrapper(ex__, false); } } finally { handler__.reclaimOutgoing(og__); } }
public KeeICE.KPlib.KFConfiguration getCurrentKFConfig(_System.Collections.Generic.Dictionary<string, string> context__) { Ice.Current current__ = new Ice.Current(); initCurrent__(ref current__, "getCurrentKFConfig", Ice.OperationMode.Normal, context__); KeeICE.KPlib.KFConfiguration result__ = new KeeICE.KPlib.KFConfiguration(); IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) { KP servant__ = null; try { servant__ = (KP)obj__; } catch(_System.InvalidCastException) { throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); } result__ = servant__.getCurrentKFConfig(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 KeeICE.KPlib.KFConfiguration getCurrentKFConfig(_System.Collections.Generic.Dictionary<string, string> context__) { IceInternal.Outgoing og__ = handler__.getOutgoing("getCurrentKFConfig", 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(); KeeICE.KPlib.KFConfiguration ret__; ret__ = null; if(ret__ == null) { ret__ = new KeeICE.KPlib.KFConfiguration(); } ret__.read__(is__); is__.endReadEncaps(); return ret__; } catch(Ice.LocalException ex__) { throw new IceInternal.LocalExceptionWrapper(ex__, false); } } finally { handler__.reclaimOutgoing(og__); } }