// **********************************************************************
//
// 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>
/**
* Create a new session.
*
**/
public abstract class Callback_SSLSessionManager_create extends Ice.TwowayCallback
{
public abstract void response(SessionPrx __ret);
public abstract void exception(Ice.UserException __ex);
public final void __completed(Ice.AsyncResult __result)
{
SSLSessionManagerPrx __proxy = (SSLSessionManagerPrx)__result.getProxy();
SessionPrx __ret = null;
try
{
__ret = __proxy.end_create(__result);
}
catch(Ice.UserException __ex)
{
exception(__ex);
return;
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret);
}
}