// **********************************************************************
//
// 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 `PermissionsVerifier.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
/**
* Check whether a user has permission to access the router.
*
**/
public abstract class Callback_SSLPermissionsVerifier_authorize extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, String reason);
public final void __completed(Ice.AsyncResult __result)
{
SSLPermissionsVerifierPrx __proxy = (SSLPermissionsVerifierPrx)__result.getProxy();
boolean __ret = false;
Ice.StringHolder reason = new Ice.StringHolder();
try
{
__ret = __proxy.end_authorize(reason, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, reason.value);
}
}