// **********************************************************************
//
// 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;
// <auto-generated>
//
// Generated from file `CollaborativeOperations.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
public final class _RCPOperationsDelM extends Ice._ObjectDelM implements _RCPOperationsDel
{
public void
sendAMID(byte[] request, java.util.Map<String, String> __ctx)
throws IceInternal.LocalExceptionWrapper,
drakkar.oar.slice.error.RequestException
{
IceInternal.Outgoing __og = __handler.getOutgoing("sendAMID", Ice.OperationMode.Normal, __ctx);
try
{
try
{
IceInternal.BasicStream __os = __og.os();
Ice.ByteSeqHelper.write(__os, request);
}
catch(Ice.LocalException __ex)
{
__og.abort(__ex);
}
boolean __ok = __og.invoke();
try
{
if(!__ok)
{
try
{
__og.throwUserException();
}
catch(drakkar.oar.slice.error.RequestException __ex)
{
throw __ex;
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name());
}
}
__og.is().skipEmptyEncaps();
}
catch(Ice.LocalException __ex)
{
throw new IceInternal.LocalExceptionWrapper(__ex, false);
}
}
finally
{
__handler.reclaimOutgoing(__og);
}
}
public void
sendSAMI(byte[] request, java.util.Map<String, String> __ctx)
throws IceInternal.LocalExceptionWrapper,
drakkar.oar.slice.error.RequestException
{
IceInternal.Outgoing __og = __handler.getOutgoing("sendSAMI", Ice.OperationMode.Normal, __ctx);
try
{
try
{
IceInternal.BasicStream __os = __og.os();
Ice.ByteSeqHelper.write(__os, request);
}
catch(Ice.LocalException __ex)
{
__og.abort(__ex);
}
boolean __ok = __og.invoke();
try
{
if(!__ok)
{
try
{
__og.throwUserException();
}
catch(drakkar.oar.slice.error.RequestException __ex)
{
throw __ex;
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name());
}
}
__og.is().skipEmptyEncaps();
}
catch(Ice.LocalException __ex)
{
throw new IceInternal.LocalExceptionWrapper(__ex, false);
}
}
finally
{
__handler.reclaimOutgoing(__og);
}
}
public byte[]
getAMID(byte[] request, java.util.Map<String, String> __ctx)
throws IceInternal.LocalExceptionWrapper,
drakkar.oar.slice.error.RequestException
{
IceInternal.Outgoing __og = __handler.getOutgoing("getAMID", Ice.OperationMode.Normal, __ctx);
try
{
try
{
IceInternal.BasicStream __os = __og.os();
Ice.ByteSeqHelper.write(__os, request);
}
catch(Ice.LocalException __ex)
{
__og.abort(__ex);
}
boolean __ok = __og.invoke();
try
{
if(!__ok)
{
try
{
__og.throwUserException();
}
catch(drakkar.oar.slice.error.RequestException __ex)
{
throw __ex;
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name());
}
}
IceInternal.BasicStream __is = __og.is();
__is.startReadEncaps();
byte[] __ret;
__ret = Ice.ByteSeqHelper.read(__is);
__is.endReadEncaps();
return __ret;
}
catch(Ice.LocalException __ex)
{
throw new IceInternal.LocalExceptionWrapper(__ex, false);
}
}
finally
{
__handler.reclaimOutgoing(__og);
}
}
public byte[]
getSAMI(byte[] request, java.util.Map<String, String> __ctx)
throws IceInternal.LocalExceptionWrapper,
drakkar.oar.slice.error.RequestException
{
IceInternal.Outgoing __og = __handler.getOutgoing("getSAMI", Ice.OperationMode.Normal, __ctx);
try
{
try
{
IceInternal.BasicStream __os = __og.os();
Ice.ByteSeqHelper.write(__os, request);
}
catch(Ice.LocalException __ex)
{
__og.abort(__ex);
}
boolean __ok = __og.invoke();
try
{
if(!__ok)
{
try
{
__og.throwUserException();
}
catch(drakkar.oar.slice.error.RequestException __ex)
{
throw __ex;
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name());
}
}
IceInternal.BasicStream __is = __og.is();
__is.startReadEncaps();
byte[] __ret;
__ret = Ice.ByteSeqHelper.read(__is);
__is.endReadEncaps();
return __ret;
}
catch(Ice.LocalException __ex)
{
throw new IceInternal.LocalExceptionWrapper(__ex, false);
}
}
finally
{
__handler.reclaimOutgoing(__og);
}
}
}