// **********************************************************************
//
// 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.0
package drakkar.oar.slice.action.twoway;
// <auto-generated>
//
// Generated from file `Twoway.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
final class _AMD_Get_getAMID extends IceInternal.IncomingAsync implements AMD_Get_getAMID
{
public
_AMD_Get_getAMID(IceInternal.Incoming in)
{
super(in);
}
public void
ice_response(byte[] __ret)
{
if(__validateResponse(true))
{
try
{
IceInternal.BasicStream __os = this.__os();
Ice.ByteSeqHelper.write(__os, __ret);
}
catch(Ice.LocalException __ex)
{
ice_exception(__ex);
}
__response(true);
}
}
public void
ice_exception(java.lang.Exception ex)
{
try
{
throw ex;
}
catch(drakkar.oar.slice.error.RequestException __ex)
{
if(__validateResponse(false))
{
__os().writeUserException(__ex);
__response(false);
}
}
catch(java.lang.Exception __ex)
{
super.ice_exception(__ex);
}
}
}