// ********************************************************************** // // 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 `Router.ice' // // Warning: do not edit this file. // // </auto-generated> final class _AMD_Router_createSessionFromSecureConnection extends IceInternal.IncomingAsync implements AMD_Router_createSessionFromSecureConnection { public _AMD_Router_createSessionFromSecureConnection(IceInternal.Incoming in) { super(in); } public void ice_response(SessionPrx __ret) { if(__validateResponse(true)) { try { IceInternal.BasicStream __os = this.__os(); SessionPrxHelper.__write(__os, __ret); } catch(Ice.LocalException __ex) { ice_exception(__ex); } __response(true); } } public void ice_exception(java.lang.Exception ex) { try { throw ex; } catch(CannotCreateSessionException __ex) { if(__validateResponse(false)) { __os().writeUserException(__ex); __response(false); } } catch(PermissionDeniedException __ex) { if(__validateResponse(false)) { __os().writeUserException(__ex); __response(false); } } catch(java.lang.Exception __ex) { super.ice_exception(__ex); } } }