// ********************************************************************** // // 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 _SessionControlDelM extends Ice._ObjectDelM implements _SessionControlDel { public StringSetPrx adapterIds(java.util.Map<String, String> __ctx) throws IceInternal.LocalExceptionWrapper { IceInternal.Outgoing __og = __handler.getOutgoing("adapterIds", Ice.OperationMode.Normal, __ctx); try { boolean __ok = __og.invoke(); try { if(!__ok) { try { __og.throwUserException(); } catch(Ice.UserException __ex) { throw new Ice.UnknownUserException(__ex.ice_name()); } } IceInternal.BasicStream __is = __og.is(); __is.startReadEncaps(); StringSetPrx __ret; __ret = StringSetPrxHelper.__read(__is); __is.endReadEncaps(); return __ret; } catch(Ice.LocalException __ex) { throw new IceInternal.LocalExceptionWrapper(__ex, false); } } finally { __handler.reclaimOutgoing(__og); } } public StringSetPrx categories(java.util.Map<String, String> __ctx) throws IceInternal.LocalExceptionWrapper { IceInternal.Outgoing __og = __handler.getOutgoing("categories", Ice.OperationMode.Normal, __ctx); try { boolean __ok = __og.invoke(); try { if(!__ok) { try { __og.throwUserException(); } catch(Ice.UserException __ex) { throw new Ice.UnknownUserException(__ex.ice_name()); } } IceInternal.BasicStream __is = __og.is(); __is.startReadEncaps(); StringSetPrx __ret; __ret = StringSetPrxHelper.__read(__is); __is.endReadEncaps(); return __ret; } catch(Ice.LocalException __ex) { throw new IceInternal.LocalExceptionWrapper(__ex, false); } } finally { __handler.reclaimOutgoing(__og); } } public void destroy(java.util.Map<String, String> __ctx) throws IceInternal.LocalExceptionWrapper { IceInternal.Outgoing __og = __handler.getOutgoing("destroy", Ice.OperationMode.Normal, __ctx); try { boolean __ok = __og.invoke(); if(!__og.is().isEmpty()) { try { if(!__ok) { try { __og.throwUserException(); } catch(Ice.UserException __ex) { throw new Ice.UnknownUserException(__ex.ice_name()); } } __og.is().skipEmptyEncaps(); } catch(Ice.LocalException __ex) { throw new IceInternal.LocalExceptionWrapper(__ex, false); } } } finally { __handler.reclaimOutgoing(__og); } } public int getSessionTimeout(java.util.Map<String, String> __ctx) throws IceInternal.LocalExceptionWrapper { IceInternal.Outgoing __og = __handler.getOutgoing("getSessionTimeout", Ice.OperationMode.Idempotent, __ctx); try { boolean __ok = __og.invoke(); try { if(!__ok) { try { __og.throwUserException(); } catch(Ice.UserException __ex) { throw new Ice.UnknownUserException(__ex.ice_name()); } } IceInternal.BasicStream __is = __og.is(); __is.startReadEncaps(); int __ret; __ret = __is.readInt(); __is.endReadEncaps(); return __ret; } catch(Ice.LocalException __ex) { throw new IceInternal.LocalExceptionWrapper(__ex, false); } } finally { __handler.reclaimOutgoing(__og); } } public IdentitySetPrx identities(java.util.Map<String, String> __ctx) throws IceInternal.LocalExceptionWrapper { IceInternal.Outgoing __og = __handler.getOutgoing("identities", Ice.OperationMode.Normal, __ctx); try { boolean __ok = __og.invoke(); try { if(!__ok) { try { __og.throwUserException(); } catch(Ice.UserException __ex) { throw new Ice.UnknownUserException(__ex.ice_name()); } } IceInternal.BasicStream __is = __og.is(); __is.startReadEncaps(); IdentitySetPrx __ret; __ret = IdentitySetPrxHelper.__read(__is); __is.endReadEncaps(); return __ret; } catch(Ice.LocalException __ex) { throw new IceInternal.LocalExceptionWrapper(__ex, false); } } finally { __handler.reclaimOutgoing(__og); } } }