// **********************************************************************
//
// 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>
/**
* Destroy the calling client's session with this router.
*
**/
public abstract class Callback_Router_destroySession extends Ice.TwowayCallback
{
public abstract void response();
public abstract void exception(Ice.UserException __ex);
public final void __completed(Ice.AsyncResult __result)
{
RouterPrx __proxy = (RouterPrx)__result.getProxy();
try
{
__proxy.end_destroySession(__result);
}
catch(Ice.UserException __ex)
{
exception(__ex);
return;
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response();
}
}