// ********************************************************************** // // Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ********************************************************************** // Ice version 3.4.1 package Glacier2; // <auto-generated> // // Generated from file `Session.ice' // // Warning: do not edit this file. // // </auto-generated> public final class _SessionControlDelD extends Ice._ObjectDelD implements _SessionControlDel { public StringSetPrx adapterIds(java.util.Map<String, String> __ctx) throws IceInternal.LocalExceptionWrapper { final Ice.Current __current = new Ice.Current(); __initCurrent(__current, "adapterIds", Ice.OperationMode.Normal, __ctx); final StringSetPrxHolder __result = new StringSetPrxHolder(); IceInternal.Direct __direct = null; try { __direct = new IceInternal.Direct(__current) { public Ice.DispatchStatus run(Ice.Object __obj) { SessionControl __servant = null; try { __servant = (SessionControl)__obj; } catch(ClassCastException __ex) { throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation); } __result.value = __servant.adapterIds(__current); return Ice.DispatchStatus.DispatchOK; } }; try { Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct); if(__status == Ice.DispatchStatus.DispatchUserException) { __direct.throwUserException(); } assert __status == Ice.DispatchStatus.DispatchOK; return __result.value; } finally { __direct.destroy(); } } catch(Ice.SystemException __ex) { throw __ex; } catch(java.lang.Throwable __ex) { IceInternal.LocalExceptionWrapper.throwWrapper(__ex); } return __result.value; } public StringSetPrx categories(java.util.Map<String, String> __ctx) throws IceInternal.LocalExceptionWrapper { final Ice.Current __current = new Ice.Current(); __initCurrent(__current, "categories", Ice.OperationMode.Normal, __ctx); final StringSetPrxHolder __result = new StringSetPrxHolder(); IceInternal.Direct __direct = null; try { __direct = new IceInternal.Direct(__current) { public Ice.DispatchStatus run(Ice.Object __obj) { SessionControl __servant = null; try { __servant = (SessionControl)__obj; } catch(ClassCastException __ex) { throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation); } __result.value = __servant.categories(__current); return Ice.DispatchStatus.DispatchOK; } }; try { Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct); if(__status == Ice.DispatchStatus.DispatchUserException) { __direct.throwUserException(); } assert __status == Ice.DispatchStatus.DispatchOK; return __result.value; } finally { __direct.destroy(); } } catch(Ice.SystemException __ex) { throw __ex; } catch(java.lang.Throwable __ex) { IceInternal.LocalExceptionWrapper.throwWrapper(__ex); } return __result.value; } public void destroy(java.util.Map<String, String> __ctx) throws IceInternal.LocalExceptionWrapper { final Ice.Current __current = new Ice.Current(); __initCurrent(__current, "destroy", Ice.OperationMode.Normal, __ctx); IceInternal.Direct __direct = null; try { __direct = new IceInternal.Direct(__current) { public Ice.DispatchStatus run(Ice.Object __obj) { SessionControl __servant = null; try { __servant = (SessionControl)__obj; } catch(ClassCastException __ex) { throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation); } __servant.destroy(__current); return Ice.DispatchStatus.DispatchOK; } }; try { Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct); if(__status == Ice.DispatchStatus.DispatchUserException) { __direct.throwUserException(); } assert __status == Ice.DispatchStatus.DispatchOK; } finally { __direct.destroy(); } } catch(Ice.SystemException __ex) { throw __ex; } catch(java.lang.Throwable __ex) { IceInternal.LocalExceptionWrapper.throwWrapper(__ex); } } public int getSessionTimeout(java.util.Map<String, String> __ctx) throws IceInternal.LocalExceptionWrapper { final Ice.Current __current = new Ice.Current(); __initCurrent(__current, "getSessionTimeout", Ice.OperationMode.Idempotent, __ctx); final Ice.IntHolder __result = new Ice.IntHolder(); IceInternal.Direct __direct = null; try { __direct = new IceInternal.Direct(__current) { public Ice.DispatchStatus run(Ice.Object __obj) { SessionControl __servant = null; try { __servant = (SessionControl)__obj; } catch(ClassCastException __ex) { throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation); } __result.value = __servant.getSessionTimeout(__current); return Ice.DispatchStatus.DispatchOK; } }; try { Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct); if(__status == Ice.DispatchStatus.DispatchUserException) { __direct.throwUserException(); } assert __status == Ice.DispatchStatus.DispatchOK; return __result.value; } finally { __direct.destroy(); } } catch(Ice.SystemException __ex) { throw __ex; } catch(java.lang.Throwable __ex) { IceInternal.LocalExceptionWrapper.throwWrapper(__ex); } return __result.value; } public IdentitySetPrx identities(java.util.Map<String, String> __ctx) throws IceInternal.LocalExceptionWrapper { final Ice.Current __current = new Ice.Current(); __initCurrent(__current, "identities", Ice.OperationMode.Normal, __ctx); final IdentitySetPrxHolder __result = new IdentitySetPrxHolder(); IceInternal.Direct __direct = null; try { __direct = new IceInternal.Direct(__current) { public Ice.DispatchStatus run(Ice.Object __obj) { SessionControl __servant = null; try { __servant = (SessionControl)__obj; } catch(ClassCastException __ex) { throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation); } __result.value = __servant.identities(__current); return Ice.DispatchStatus.DispatchOK; } }; try { Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct); if(__status == Ice.DispatchStatus.DispatchUserException) { __direct.throwUserException(); } assert __status == Ice.DispatchStatus.DispatchOK; return __result.value; } finally { __direct.destroy(); } } catch(Ice.SystemException __ex) { throw __ex; } catch(java.lang.Throwable __ex) { IceInternal.LocalExceptionWrapper.throwWrapper(__ex); } return __result.value; } }