// **********************************************************************
//
// 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 Ice;
// <auto-generated>
//
// Generated from file `Locator.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
/**
* Find an object by identity and return its proxy.
*
**/
public abstract class AMI_Locator_findObjectById extends Callback_Locator_findObjectById
{
/**
* ice_response indicates that
* the operation completed successfully.
* @param __ret (return value) The proxy, or null if the object is not active.
*
**/
public abstract void ice_response(Ice.ObjectPrx __ret);
/**
* ice_exception indicates to the caller that
* the operation completed with an exception.
* @param ex The Ice run-time exception to be raised.
**/
public abstract void ice_exception(Ice.LocalException ex);
/**
* ice_exception indicates to the caller that
* the operation completed with an exception.
* @param ex The user exception to be raised.
**/
public abstract void ice_exception(Ice.UserException ex);
public final void response(Ice.ObjectPrx __ret)
{
ice_response(__ret);
}
public final void exception(Ice.UserException __ex)
{
ice_exception(__ex);
}
public final void exception(Ice.LocalException __ex)
{
ice_exception(__ex);
}
@Override public final void sent(boolean sentSynchronously)
{
if(!sentSynchronously && this instanceof Ice.AMISentCallback)
{
((Ice.AMISentCallback)this).ice_sent();
}
}
}