IceGrid.AdminSessionPrxHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of icegrid-compat Show documentation
Show all versions of icegrid-compat Show documentation
Locate, deploy, and manage Ice servers
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.3
//
//
//
// Generated from file `Admin.ice'
//
// Warning: do not edit this file.
//
//
//
package IceGrid;
/**
* Provides type-specific helper functions.
**/
public final class AdminSessionPrxHelper extends Ice.ObjectPrxHelperBase implements AdminSessionPrx
{
private static final String _destroy_name = "destroy";
public void destroy()
{
_iceI_destroy(null, false);
}
public void destroy(java.util.Map context)
{
_iceI_destroy(context, true);
}
private void _iceI_destroy(java.util.Map context, boolean explicitCtx)
{
end_destroy(_iceI_begin_destroy(context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_destroy()
{
return _iceI_begin_destroy(null, false, false, null);
}
public Ice.AsyncResult begin_destroy(java.util.Map context)
{
return _iceI_begin_destroy(context, true, false, null);
}
public Ice.AsyncResult begin_destroy(Ice.Callback cb)
{
return _iceI_begin_destroy(null, false, false, cb);
}
public Ice.AsyncResult begin_destroy(java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_destroy(context, true, false, cb);
}
public Ice.AsyncResult begin_destroy(Glacier2.Callback_Session_destroy cb)
{
return _iceI_begin_destroy(null, false, false, cb);
}
public Ice.AsyncResult begin_destroy(java.util.Map context, Glacier2.Callback_Session_destroy cb)
{
return _iceI_begin_destroy(context, true, false, cb);
}
public Ice.AsyncResult begin_destroy(IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_destroy(null, false, false, responseCb, exceptionCb, null);
}
public Ice.AsyncResult begin_destroy(IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_destroy(null, false, false, responseCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_destroy(java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_destroy(context, true, false, responseCb, exceptionCb, null);
}
public Ice.AsyncResult begin_destroy(java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_destroy(context, true, false, responseCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_destroy(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_destroy(context,
explicitCtx,
synchronous,
new IceInternal.Functional_OnewayCallback(responseCb, exceptionCb, sentCb));
}
private Ice.AsyncResult _iceI_begin_destroy(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
IceInternal.OutgoingAsync result = getOutgoingAsync(_destroy_name, cb);
try
{
result.prepare(_destroy_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
result.writeEmptyParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public void end_destroy(Ice.AsyncResult iresult)
{
_end(iresult, _destroy_name);
}
private static final String _keepAlive_name = "keepAlive";
public void keepAlive()
{
_iceI_keepAlive(null, false);
}
public void keepAlive(java.util.Map context)
{
_iceI_keepAlive(context, true);
}
private void _iceI_keepAlive(java.util.Map context, boolean explicitCtx)
{
end_keepAlive(_iceI_begin_keepAlive(context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_keepAlive()
{
return _iceI_begin_keepAlive(null, false, false, null);
}
public Ice.AsyncResult begin_keepAlive(java.util.Map context)
{
return _iceI_begin_keepAlive(context, true, false, null);
}
public Ice.AsyncResult begin_keepAlive(Ice.Callback cb)
{
return _iceI_begin_keepAlive(null, false, false, cb);
}
public Ice.AsyncResult begin_keepAlive(java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_keepAlive(context, true, false, cb);
}
public Ice.AsyncResult begin_keepAlive(Callback_AdminSession_keepAlive cb)
{
return _iceI_begin_keepAlive(null, false, false, cb);
}
public Ice.AsyncResult begin_keepAlive(java.util.Map context, Callback_AdminSession_keepAlive cb)
{
return _iceI_begin_keepAlive(context, true, false, cb);
}
public Ice.AsyncResult begin_keepAlive(IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_keepAlive(null, false, false, responseCb, exceptionCb, null);
}
public Ice.AsyncResult begin_keepAlive(IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_keepAlive(null, false, false, responseCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_keepAlive(java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_keepAlive(context, true, false, responseCb, exceptionCb, null);
}
public Ice.AsyncResult begin_keepAlive(java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_keepAlive(context, true, false, responseCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_keepAlive(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_keepAlive(context,
explicitCtx,
synchronous,
new IceInternal.Functional_OnewayCallback(responseCb, exceptionCb, sentCb));
}
private Ice.AsyncResult _iceI_begin_keepAlive(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
IceInternal.OutgoingAsync result = getOutgoingAsync(_keepAlive_name, cb);
try
{
result.prepare(_keepAlive_name, Ice.OperationMode.Idempotent, context, explicitCtx, synchronous);
result.writeEmptyParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public void end_keepAlive(Ice.AsyncResult iresult)
{
_end(iresult, _keepAlive_name);
}
private static final String _getAdmin_name = "getAdmin";
public AdminPrx getAdmin()
{
return _iceI_getAdmin(null, false);
}
public AdminPrx getAdmin(java.util.Map context)
{
return _iceI_getAdmin(context, true);
}
private AdminPrx _iceI_getAdmin(java.util.Map context, boolean explicitCtx)
{
_checkTwowayOnly(_getAdmin_name);
return end_getAdmin(_iceI_begin_getAdmin(context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_getAdmin()
{
return _iceI_begin_getAdmin(null, false, false, null);
}
public Ice.AsyncResult begin_getAdmin(java.util.Map context)
{
return _iceI_begin_getAdmin(context, true, false, null);
}
public Ice.AsyncResult begin_getAdmin(Ice.Callback cb)
{
return _iceI_begin_getAdmin(null, false, false, cb);
}
public Ice.AsyncResult begin_getAdmin(java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_getAdmin(context, true, false, cb);
}
public Ice.AsyncResult begin_getAdmin(Callback_AdminSession_getAdmin cb)
{
return _iceI_begin_getAdmin(null, false, false, cb);
}
public Ice.AsyncResult begin_getAdmin(java.util.Map context, Callback_AdminSession_getAdmin cb)
{
return _iceI_begin_getAdmin(context, true, false, cb);
}
public Ice.AsyncResult begin_getAdmin(IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_getAdmin(null, false, false, responseCb, exceptionCb, null);
}
public Ice.AsyncResult begin_getAdmin(IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_getAdmin(null, false, false, responseCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_getAdmin(java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_getAdmin(context, true, false, responseCb, exceptionCb, null);
}
public Ice.AsyncResult begin_getAdmin(java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_getAdmin(context, true, false, responseCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_getAdmin(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_getAdmin(context,
explicitCtx,
synchronous,
new IceInternal.Functional_TwowayCallbackArg1(responseCb, exceptionCb, sentCb)
{
public final void _iceCompleted(Ice.AsyncResult result)
{
AdminSessionPrxHelper._iceI_getAdmin_completed(this, result);
}
});
}
private Ice.AsyncResult _iceI_begin_getAdmin(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
_checkAsyncTwowayOnly(_getAdmin_name);
IceInternal.OutgoingAsync result = getOutgoingAsync(_getAdmin_name, cb);
try
{
result.prepare(_getAdmin_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
result.writeEmptyParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public AdminPrx end_getAdmin(Ice.AsyncResult iresult)
{
IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getAdmin_name);
try
{
if(!result_.waitForResponseOrUserEx())
{
try
{
result_.throwUserException();
}
catch(Ice.UserException ex_)
{
throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
}
}
Ice.InputStream istr_ = result_.startReadParams();
AdminPrx ret_;
ret_ = AdminPrxHelper.read(istr_);
result_.endReadParams();
return ret_;
}
finally
{
if(result_ != null)
{
result_.cacheMessageBuffers();
}
}
}
static public void _iceI_getAdmin_completed(Ice.TwowayCallbackArg1 cb, Ice.AsyncResult result)
{
IceGrid.AdminSessionPrx _proxy = (IceGrid.AdminSessionPrx)result.getProxy();
AdminPrx ret = null;
try
{
ret = _proxy.end_getAdmin(result);
}
catch(Ice.LocalException ex)
{
cb.exception(ex);
return;
}
catch(Ice.SystemException ex)
{
cb.exception(ex);
return;
}
cb.response(ret);
}
private static final String _getAdminCallbackTemplate_name = "getAdminCallbackTemplate";
public Ice.ObjectPrx getAdminCallbackTemplate()
{
return _iceI_getAdminCallbackTemplate(null, false);
}
public Ice.ObjectPrx getAdminCallbackTemplate(java.util.Map context)
{
return _iceI_getAdminCallbackTemplate(context, true);
}
private Ice.ObjectPrx _iceI_getAdminCallbackTemplate(java.util.Map context, boolean explicitCtx)
{
_checkTwowayOnly(_getAdminCallbackTemplate_name);
return end_getAdminCallbackTemplate(_iceI_begin_getAdminCallbackTemplate(context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_getAdminCallbackTemplate()
{
return _iceI_begin_getAdminCallbackTemplate(null, false, false, null);
}
public Ice.AsyncResult begin_getAdminCallbackTemplate(java.util.Map context)
{
return _iceI_begin_getAdminCallbackTemplate(context, true, false, null);
}
public Ice.AsyncResult begin_getAdminCallbackTemplate(Ice.Callback cb)
{
return _iceI_begin_getAdminCallbackTemplate(null, false, false, cb);
}
public Ice.AsyncResult begin_getAdminCallbackTemplate(java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_getAdminCallbackTemplate(context, true, false, cb);
}
public Ice.AsyncResult begin_getAdminCallbackTemplate(Callback_AdminSession_getAdminCallbackTemplate cb)
{
return _iceI_begin_getAdminCallbackTemplate(null, false, false, cb);
}
public Ice.AsyncResult begin_getAdminCallbackTemplate(java.util.Map context, Callback_AdminSession_getAdminCallbackTemplate cb)
{
return _iceI_begin_getAdminCallbackTemplate(context, true, false, cb);
}
public Ice.AsyncResult begin_getAdminCallbackTemplate(IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_getAdminCallbackTemplate(null, false, false, responseCb, exceptionCb, null);
}
public Ice.AsyncResult begin_getAdminCallbackTemplate(IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_getAdminCallbackTemplate(null, false, false, responseCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_getAdminCallbackTemplate(java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_getAdminCallbackTemplate(context, true, false, responseCb, exceptionCb, null);
}
public Ice.AsyncResult begin_getAdminCallbackTemplate(java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_getAdminCallbackTemplate(context, true, false, responseCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_getAdminCallbackTemplate(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_getAdminCallbackTemplate(context,
explicitCtx,
synchronous,
new IceInternal.Functional_TwowayCallbackArg1(responseCb, exceptionCb, sentCb)
{
public final void _iceCompleted(Ice.AsyncResult result)
{
AdminSessionPrxHelper._iceI_getAdminCallbackTemplate_completed(this, result);
}
});
}
private Ice.AsyncResult _iceI_begin_getAdminCallbackTemplate(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
_checkAsyncTwowayOnly(_getAdminCallbackTemplate_name);
IceInternal.OutgoingAsync result = getOutgoingAsync(_getAdminCallbackTemplate_name, cb);
try
{
result.prepare(_getAdminCallbackTemplate_name, Ice.OperationMode.Idempotent, context, explicitCtx, synchronous);
result.writeEmptyParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public Ice.ObjectPrx end_getAdminCallbackTemplate(Ice.AsyncResult iresult)
{
IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getAdminCallbackTemplate_name);
try
{
if(!result_.waitForResponseOrUserEx())
{
try
{
result_.throwUserException();
}
catch(Ice.UserException ex_)
{
throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
}
}
Ice.InputStream istr_ = result_.startReadParams();
Ice.ObjectPrx ret_;
ret_ = istr_.readProxy();
result_.endReadParams();
return ret_;
}
finally
{
if(result_ != null)
{
result_.cacheMessageBuffers();
}
}
}
static public void _iceI_getAdminCallbackTemplate_completed(Ice.TwowayCallbackArg1 cb, Ice.AsyncResult result)
{
IceGrid.AdminSessionPrx _proxy = (IceGrid.AdminSessionPrx)result.getProxy();
Ice.ObjectPrx ret = null;
try
{
ret = _proxy.end_getAdminCallbackTemplate(result);
}
catch(Ice.LocalException ex)
{
cb.exception(ex);
return;
}
catch(Ice.SystemException ex)
{
cb.exception(ex);
return;
}
cb.response(ret);
}
private static final String _setObservers_name = "setObservers";
public void setObservers(RegistryObserverPrx registryObs, NodeObserverPrx nodeObs, ApplicationObserverPrx appObs, AdapterObserverPrx adptObs, ObjectObserverPrx objObs)
throws ObserverAlreadyRegisteredException
{
_iceI_setObservers(registryObs, nodeObs, appObs, adptObs, objObs, null, false);
}
public void setObservers(RegistryObserverPrx registryObs, NodeObserverPrx nodeObs, ApplicationObserverPrx appObs, AdapterObserverPrx adptObs, ObjectObserverPrx objObs, java.util.Map context)
throws ObserverAlreadyRegisteredException
{
_iceI_setObservers(registryObs, nodeObs, appObs, adptObs, objObs, context, true);
}
private void _iceI_setObservers(RegistryObserverPrx iceP_registryObs, NodeObserverPrx iceP_nodeObs, ApplicationObserverPrx iceP_appObs, AdapterObserverPrx iceP_adptObs, ObjectObserverPrx iceP_objObs, java.util.Map context, boolean explicitCtx)
throws ObserverAlreadyRegisteredException
{
_checkTwowayOnly(_setObservers_name);
end_setObservers(_iceI_begin_setObservers(iceP_registryObs, iceP_nodeObs, iceP_appObs, iceP_adptObs, iceP_objObs, context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_setObservers(RegistryObserverPrx registryObs, NodeObserverPrx nodeObs, ApplicationObserverPrx appObs, AdapterObserverPrx adptObs, ObjectObserverPrx objObs)
{
return _iceI_begin_setObservers(registryObs, nodeObs, appObs, adptObs, objObs, null, false, false, null);
}
public Ice.AsyncResult begin_setObservers(RegistryObserverPrx registryObs, NodeObserverPrx nodeObs, ApplicationObserverPrx appObs, AdapterObserverPrx adptObs, ObjectObserverPrx objObs, java.util.Map context)
{
return _iceI_begin_setObservers(registryObs, nodeObs, appObs, adptObs, objObs, context, true, false, null);
}
public Ice.AsyncResult begin_setObservers(RegistryObserverPrx registryObs, NodeObserverPrx nodeObs, ApplicationObserverPrx appObs, AdapterObserverPrx adptObs, ObjectObserverPrx objObs, Ice.Callback cb)
{
return _iceI_begin_setObservers(registryObs, nodeObs, appObs, adptObs, objObs, null, false, false, cb);
}
public Ice.AsyncResult begin_setObservers(RegistryObserverPrx registryObs, NodeObserverPrx nodeObs, ApplicationObserverPrx appObs, AdapterObserverPrx adptObs, ObjectObserverPrx objObs, java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_setObservers(registryObs, nodeObs, appObs, adptObs, objObs, context, true, false, cb);
}
public Ice.AsyncResult begin_setObservers(RegistryObserverPrx registryObs, NodeObserverPrx nodeObs, ApplicationObserverPrx appObs, AdapterObserverPrx adptObs, ObjectObserverPrx objObs, Callback_AdminSession_setObservers cb)
{
return _iceI_begin_setObservers(registryObs, nodeObs, appObs, adptObs, objObs, null, false, false, cb);
}
public Ice.AsyncResult begin_setObservers(RegistryObserverPrx registryObs, NodeObserverPrx nodeObs, ApplicationObserverPrx appObs, AdapterObserverPrx adptObs, ObjectObserverPrx objObs, java.util.Map context, Callback_AdminSession_setObservers cb)
{
return _iceI_begin_setObservers(registryObs, nodeObs, appObs, adptObs, objObs, context, true, false, cb);
}
public Ice.AsyncResult begin_setObservers(RegistryObserverPrx registryObs,
NodeObserverPrx nodeObs,
ApplicationObserverPrx appObs,
AdapterObserverPrx adptObs,
ObjectObserverPrx objObs,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_setObservers(registryObs, nodeObs, appObs, adptObs, objObs, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_setObservers(RegistryObserverPrx registryObs,
NodeObserverPrx nodeObs,
ApplicationObserverPrx appObs,
AdapterObserverPrx adptObs,
ObjectObserverPrx objObs,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_setObservers(registryObs, nodeObs, appObs, adptObs, objObs, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_setObservers(RegistryObserverPrx registryObs,
NodeObserverPrx nodeObs,
ApplicationObserverPrx appObs,
AdapterObserverPrx adptObs,
ObjectObserverPrx objObs,
java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_setObservers(registryObs, nodeObs, appObs, adptObs, objObs, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_setObservers(RegistryObserverPrx registryObs,
NodeObserverPrx nodeObs,
ApplicationObserverPrx appObs,
AdapterObserverPrx adptObs,
ObjectObserverPrx objObs,
java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_setObservers(registryObs, nodeObs, appObs, adptObs, objObs, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_setObservers(RegistryObserverPrx iceP_registryObs,
NodeObserverPrx iceP_nodeObs,
ApplicationObserverPrx iceP_appObs,
AdapterObserverPrx iceP_adptObs,
ObjectObserverPrx iceP_objObs,
java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_setObservers(iceP_registryObs,
iceP_nodeObs,
iceP_appObs,
iceP_adptObs,
iceP_objObs,
context,
explicitCtx,
synchronous,
new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
{
public final void _iceCompleted(Ice.AsyncResult result)
{
AdminSessionPrxHelper._iceI_setObservers_completed(this, result);
}
});
}
private Ice.AsyncResult _iceI_begin_setObservers(RegistryObserverPrx iceP_registryObs,
NodeObserverPrx iceP_nodeObs,
ApplicationObserverPrx iceP_appObs,
AdapterObserverPrx iceP_adptObs,
ObjectObserverPrx iceP_objObs,
java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
_checkAsyncTwowayOnly(_setObservers_name);
IceInternal.OutgoingAsync result = getOutgoingAsync(_setObservers_name, cb);
try
{
result.prepare(_setObservers_name, Ice.OperationMode.Idempotent, context, explicitCtx, synchronous);
Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
RegistryObserverPrxHelper.write(ostr, iceP_registryObs);
NodeObserverPrxHelper.write(ostr, iceP_nodeObs);
ApplicationObserverPrxHelper.write(ostr, iceP_appObs);
AdapterObserverPrxHelper.write(ostr, iceP_adptObs);
ObjectObserverPrxHelper.write(ostr, iceP_objObs);
result.endWriteParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public void end_setObservers(Ice.AsyncResult iresult)
throws ObserverAlreadyRegisteredException
{
IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _setObservers_name);
try
{
if(!result_.waitForResponseOrUserEx())
{
try
{
result_.throwUserException();
}
catch(ObserverAlreadyRegisteredException ex_)
{
throw ex_;
}
catch(Ice.UserException ex_)
{
throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
}
}
result_.readEmptyParams();
}
finally
{
if(result_ != null)
{
result_.cacheMessageBuffers();
}
}
}
static public void _iceI_setObservers_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
{
IceGrid.AdminSessionPrx _proxy = (IceGrid.AdminSessionPrx)result.getProxy();
try
{
_proxy.end_setObservers(result);
}
catch(Ice.UserException ex)
{
cb.exception(ex);
return;
}
catch(Ice.LocalException ex)
{
cb.exception(ex);
return;
}
catch(Ice.SystemException ex)
{
cb.exception(ex);
return;
}
cb.response();
}
private static final String _setObserversByIdentity_name = "setObserversByIdentity";
public void setObserversByIdentity(Ice.Identity registryObs, Ice.Identity nodeObs, Ice.Identity appObs, Ice.Identity adptObs, Ice.Identity objObs)
throws ObserverAlreadyRegisteredException
{
_iceI_setObserversByIdentity(registryObs, nodeObs, appObs, adptObs, objObs, null, false);
}
public void setObserversByIdentity(Ice.Identity registryObs, Ice.Identity nodeObs, Ice.Identity appObs, Ice.Identity adptObs, Ice.Identity objObs, java.util.Map context)
throws ObserverAlreadyRegisteredException
{
_iceI_setObserversByIdentity(registryObs, nodeObs, appObs, adptObs, objObs, context, true);
}
private void _iceI_setObserversByIdentity(Ice.Identity iceP_registryObs, Ice.Identity iceP_nodeObs, Ice.Identity iceP_appObs, Ice.Identity iceP_adptObs, Ice.Identity iceP_objObs, java.util.Map context, boolean explicitCtx)
throws ObserverAlreadyRegisteredException
{
_checkTwowayOnly(_setObserversByIdentity_name);
end_setObserversByIdentity(_iceI_begin_setObserversByIdentity(iceP_registryObs, iceP_nodeObs, iceP_appObs, iceP_adptObs, iceP_objObs, context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_setObserversByIdentity(Ice.Identity registryObs, Ice.Identity nodeObs, Ice.Identity appObs, Ice.Identity adptObs, Ice.Identity objObs)
{
return _iceI_begin_setObserversByIdentity(registryObs, nodeObs, appObs, adptObs, objObs, null, false, false, null);
}
public Ice.AsyncResult begin_setObserversByIdentity(Ice.Identity registryObs, Ice.Identity nodeObs, Ice.Identity appObs, Ice.Identity adptObs, Ice.Identity objObs, java.util.Map context)
{
return _iceI_begin_setObserversByIdentity(registryObs, nodeObs, appObs, adptObs, objObs, context, true, false, null);
}
public Ice.AsyncResult begin_setObserversByIdentity(Ice.Identity registryObs, Ice.Identity nodeObs, Ice.Identity appObs, Ice.Identity adptObs, Ice.Identity objObs, Ice.Callback cb)
{
return _iceI_begin_setObserversByIdentity(registryObs, nodeObs, appObs, adptObs, objObs, null, false, false, cb);
}
public Ice.AsyncResult begin_setObserversByIdentity(Ice.Identity registryObs, Ice.Identity nodeObs, Ice.Identity appObs, Ice.Identity adptObs, Ice.Identity objObs, java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_setObserversByIdentity(registryObs, nodeObs, appObs, adptObs, objObs, context, true, false, cb);
}
public Ice.AsyncResult begin_setObserversByIdentity(Ice.Identity registryObs, Ice.Identity nodeObs, Ice.Identity appObs, Ice.Identity adptObs, Ice.Identity objObs, Callback_AdminSession_setObserversByIdentity cb)
{
return _iceI_begin_setObserversByIdentity(registryObs, nodeObs, appObs, adptObs, objObs, null, false, false, cb);
}
public Ice.AsyncResult begin_setObserversByIdentity(Ice.Identity registryObs, Ice.Identity nodeObs, Ice.Identity appObs, Ice.Identity adptObs, Ice.Identity objObs, java.util.Map context, Callback_AdminSession_setObserversByIdentity cb)
{
return _iceI_begin_setObserversByIdentity(registryObs, nodeObs, appObs, adptObs, objObs, context, true, false, cb);
}
public Ice.AsyncResult begin_setObserversByIdentity(Ice.Identity registryObs,
Ice.Identity nodeObs,
Ice.Identity appObs,
Ice.Identity adptObs,
Ice.Identity objObs,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_setObserversByIdentity(registryObs, nodeObs, appObs, adptObs, objObs, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_setObserversByIdentity(Ice.Identity registryObs,
Ice.Identity nodeObs,
Ice.Identity appObs,
Ice.Identity adptObs,
Ice.Identity objObs,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_setObserversByIdentity(registryObs, nodeObs, appObs, adptObs, objObs, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_setObserversByIdentity(Ice.Identity registryObs,
Ice.Identity nodeObs,
Ice.Identity appObs,
Ice.Identity adptObs,
Ice.Identity objObs,
java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_setObserversByIdentity(registryObs, nodeObs, appObs, adptObs, objObs, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_setObserversByIdentity(Ice.Identity registryObs,
Ice.Identity nodeObs,
Ice.Identity appObs,
Ice.Identity adptObs,
Ice.Identity objObs,
java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_setObserversByIdentity(registryObs, nodeObs, appObs, adptObs, objObs, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_setObserversByIdentity(Ice.Identity iceP_registryObs,
Ice.Identity iceP_nodeObs,
Ice.Identity iceP_appObs,
Ice.Identity iceP_adptObs,
Ice.Identity iceP_objObs,
java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_setObserversByIdentity(iceP_registryObs,
iceP_nodeObs,
iceP_appObs,
iceP_adptObs,
iceP_objObs,
context,
explicitCtx,
synchronous,
new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
{
public final void _iceCompleted(Ice.AsyncResult result)
{
AdminSessionPrxHelper._iceI_setObserversByIdentity_completed(this, result);
}
});
}
private Ice.AsyncResult _iceI_begin_setObserversByIdentity(Ice.Identity iceP_registryObs,
Ice.Identity iceP_nodeObs,
Ice.Identity iceP_appObs,
Ice.Identity iceP_adptObs,
Ice.Identity iceP_objObs,
java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
_checkAsyncTwowayOnly(_setObserversByIdentity_name);
IceInternal.OutgoingAsync result = getOutgoingAsync(_setObserversByIdentity_name, cb);
try
{
result.prepare(_setObserversByIdentity_name, Ice.OperationMode.Idempotent, context, explicitCtx, synchronous);
Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
Ice.Identity.ice_write(ostr, iceP_registryObs);
Ice.Identity.ice_write(ostr, iceP_nodeObs);
Ice.Identity.ice_write(ostr, iceP_appObs);
Ice.Identity.ice_write(ostr, iceP_adptObs);
Ice.Identity.ice_write(ostr, iceP_objObs);
result.endWriteParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public void end_setObserversByIdentity(Ice.AsyncResult iresult)
throws ObserverAlreadyRegisteredException
{
IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _setObserversByIdentity_name);
try
{
if(!result_.waitForResponseOrUserEx())
{
try
{
result_.throwUserException();
}
catch(ObserverAlreadyRegisteredException ex_)
{
throw ex_;
}
catch(Ice.UserException ex_)
{
throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
}
}
result_.readEmptyParams();
}
finally
{
if(result_ != null)
{
result_.cacheMessageBuffers();
}
}
}
static public void _iceI_setObserversByIdentity_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
{
IceGrid.AdminSessionPrx _proxy = (IceGrid.AdminSessionPrx)result.getProxy();
try
{
_proxy.end_setObserversByIdentity(result);
}
catch(Ice.UserException ex)
{
cb.exception(ex);
return;
}
catch(Ice.LocalException ex)
{
cb.exception(ex);
return;
}
catch(Ice.SystemException ex)
{
cb.exception(ex);
return;
}
cb.response();
}
private static final String _startUpdate_name = "startUpdate";
public int startUpdate()
throws AccessDeniedException
{
return _iceI_startUpdate(null, false);
}
public int startUpdate(java.util.Map context)
throws AccessDeniedException
{
return _iceI_startUpdate(context, true);
}
private int _iceI_startUpdate(java.util.Map context, boolean explicitCtx)
throws AccessDeniedException
{
_checkTwowayOnly(_startUpdate_name);
return end_startUpdate(_iceI_begin_startUpdate(context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_startUpdate()
{
return _iceI_begin_startUpdate(null, false, false, null);
}
public Ice.AsyncResult begin_startUpdate(java.util.Map context)
{
return _iceI_begin_startUpdate(context, true, false, null);
}
public Ice.AsyncResult begin_startUpdate(Ice.Callback cb)
{
return _iceI_begin_startUpdate(null, false, false, cb);
}
public Ice.AsyncResult begin_startUpdate(java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_startUpdate(context, true, false, cb);
}
public Ice.AsyncResult begin_startUpdate(Callback_AdminSession_startUpdate cb)
{
return _iceI_begin_startUpdate(null, false, false, cb);
}
public Ice.AsyncResult begin_startUpdate(java.util.Map context, Callback_AdminSession_startUpdate cb)
{
return _iceI_begin_startUpdate(context, true, false, cb);
}
public Ice.AsyncResult begin_startUpdate(IceInternal.Functional_IntCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_startUpdate(null, false, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_startUpdate(IceInternal.Functional_IntCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_startUpdate(null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_startUpdate(java.util.Map context,
IceInternal.Functional_IntCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_startUpdate(context, true, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_startUpdate(java.util.Map context,
IceInternal.Functional_IntCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_startUpdate(context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_startUpdate(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_IntCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_startUpdate(context,
explicitCtx,
synchronous,
new IceInternal.Functional_TwowayCallbackIntUE(responseCb, userExceptionCb, exceptionCb, sentCb)
{
public final void _iceCompleted(Ice.AsyncResult result)
{
AdminSessionPrxHelper._iceI_startUpdate_completed(this, result);
}
});
}
private Ice.AsyncResult _iceI_begin_startUpdate(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
_checkAsyncTwowayOnly(_startUpdate_name);
IceInternal.OutgoingAsync result = getOutgoingAsync(_startUpdate_name, cb);
try
{
result.prepare(_startUpdate_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
result.writeEmptyParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public int end_startUpdate(Ice.AsyncResult iresult)
throws AccessDeniedException
{
IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _startUpdate_name);
try
{
if(!result_.waitForResponseOrUserEx())
{
try
{
result_.throwUserException();
}
catch(AccessDeniedException ex_)
{
throw ex_;
}
catch(Ice.UserException ex_)
{
throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
}
}
Ice.InputStream istr_ = result_.startReadParams();
int ret_;
ret_ = istr_.readInt();
result_.endReadParams();
return ret_;
}
finally
{
if(result_ != null)
{
result_.cacheMessageBuffers();
}
}
}
static public void _iceI_startUpdate_completed(Ice.TwowayCallbackIntUE cb, Ice.AsyncResult result)
{
IceGrid.AdminSessionPrx _proxy = (IceGrid.AdminSessionPrx)result.getProxy();
int ret = 0;
try
{
ret = _proxy.end_startUpdate(result);
}
catch(Ice.UserException ex)
{
cb.exception(ex);
return;
}
catch(Ice.LocalException ex)
{
cb.exception(ex);
return;
}
catch(Ice.SystemException ex)
{
cb.exception(ex);
return;
}
cb.response(ret);
}
private static final String _finishUpdate_name = "finishUpdate";
public void finishUpdate()
throws AccessDeniedException
{
_iceI_finishUpdate(null, false);
}
public void finishUpdate(java.util.Map context)
throws AccessDeniedException
{
_iceI_finishUpdate(context, true);
}
private void _iceI_finishUpdate(java.util.Map context, boolean explicitCtx)
throws AccessDeniedException
{
_checkTwowayOnly(_finishUpdate_name);
end_finishUpdate(_iceI_begin_finishUpdate(context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_finishUpdate()
{
return _iceI_begin_finishUpdate(null, false, false, null);
}
public Ice.AsyncResult begin_finishUpdate(java.util.Map context)
{
return _iceI_begin_finishUpdate(context, true, false, null);
}
public Ice.AsyncResult begin_finishUpdate(Ice.Callback cb)
{
return _iceI_begin_finishUpdate(null, false, false, cb);
}
public Ice.AsyncResult begin_finishUpdate(java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_finishUpdate(context, true, false, cb);
}
public Ice.AsyncResult begin_finishUpdate(Callback_AdminSession_finishUpdate cb)
{
return _iceI_begin_finishUpdate(null, false, false, cb);
}
public Ice.AsyncResult begin_finishUpdate(java.util.Map context, Callback_AdminSession_finishUpdate cb)
{
return _iceI_begin_finishUpdate(context, true, false, cb);
}
public Ice.AsyncResult begin_finishUpdate(IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_finishUpdate(null, false, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_finishUpdate(IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_finishUpdate(null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_finishUpdate(java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_finishUpdate(context, true, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_finishUpdate(java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_finishUpdate(context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_finishUpdate(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_finishUpdate(context,
explicitCtx,
synchronous,
new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
{
public final void _iceCompleted(Ice.AsyncResult result)
{
AdminSessionPrxHelper._iceI_finishUpdate_completed(this, result);
}
});
}
private Ice.AsyncResult _iceI_begin_finishUpdate(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
_checkAsyncTwowayOnly(_finishUpdate_name);
IceInternal.OutgoingAsync result = getOutgoingAsync(_finishUpdate_name, cb);
try
{
result.prepare(_finishUpdate_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
result.writeEmptyParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public void end_finishUpdate(Ice.AsyncResult iresult)
throws AccessDeniedException
{
IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _finishUpdate_name);
try
{
if(!result_.waitForResponseOrUserEx())
{
try
{
result_.throwUserException();
}
catch(AccessDeniedException ex_)
{
throw ex_;
}
catch(Ice.UserException ex_)
{
throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
}
}
result_.readEmptyParams();
}
finally
{
if(result_ != null)
{
result_.cacheMessageBuffers();
}
}
}
static public void _iceI_finishUpdate_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
{
IceGrid.AdminSessionPrx _proxy = (IceGrid.AdminSessionPrx)result.getProxy();
try
{
_proxy.end_finishUpdate(result);
}
catch(Ice.UserException ex)
{
cb.exception(ex);
return;
}
catch(Ice.LocalException ex)
{
cb.exception(ex);
return;
}
catch(Ice.SystemException ex)
{
cb.exception(ex);
return;
}
cb.response();
}
private static final String _getReplicaName_name = "getReplicaName";
public String getReplicaName()
{
return _iceI_getReplicaName(null, false);
}
public String getReplicaName(java.util.Map context)
{
return _iceI_getReplicaName(context, true);
}
private String _iceI_getReplicaName(java.util.Map context, boolean explicitCtx)
{
_checkTwowayOnly(_getReplicaName_name);
return end_getReplicaName(_iceI_begin_getReplicaName(context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_getReplicaName()
{
return _iceI_begin_getReplicaName(null, false, false, null);
}
public Ice.AsyncResult begin_getReplicaName(java.util.Map context)
{
return _iceI_begin_getReplicaName(context, true, false, null);
}
public Ice.AsyncResult begin_getReplicaName(Ice.Callback cb)
{
return _iceI_begin_getReplicaName(null, false, false, cb);
}
public Ice.AsyncResult begin_getReplicaName(java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_getReplicaName(context, true, false, cb);
}
public Ice.AsyncResult begin_getReplicaName(Callback_AdminSession_getReplicaName cb)
{
return _iceI_begin_getReplicaName(null, false, false, cb);
}
public Ice.AsyncResult begin_getReplicaName(java.util.Map context, Callback_AdminSession_getReplicaName cb)
{
return _iceI_begin_getReplicaName(context, true, false, cb);
}
public Ice.AsyncResult begin_getReplicaName(IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_getReplicaName(null, false, false, responseCb, exceptionCb, null);
}
public Ice.AsyncResult begin_getReplicaName(IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_getReplicaName(null, false, false, responseCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_getReplicaName(java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_getReplicaName(context, true, false, responseCb, exceptionCb, null);
}
public Ice.AsyncResult begin_getReplicaName(java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_getReplicaName(context, true, false, responseCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_getReplicaName(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_getReplicaName(context,
explicitCtx,
synchronous,
new IceInternal.Functional_TwowayCallbackArg1(responseCb, exceptionCb, sentCb)
{
public final void _iceCompleted(Ice.AsyncResult result)
{
AdminSessionPrxHelper._iceI_getReplicaName_completed(this, result);
}
});
}
private Ice.AsyncResult _iceI_begin_getReplicaName(java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
_checkAsyncTwowayOnly(_getReplicaName_name);
IceInternal.OutgoingAsync result = getOutgoingAsync(_getReplicaName_name, cb);
try
{
result.prepare(_getReplicaName_name, Ice.OperationMode.Idempotent, context, explicitCtx, synchronous);
result.writeEmptyParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public String end_getReplicaName(Ice.AsyncResult iresult)
{
IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getReplicaName_name);
try
{
if(!result_.waitForResponseOrUserEx())
{
try
{
result_.throwUserException();
}
catch(Ice.UserException ex_)
{
throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
}
}
Ice.InputStream istr_ = result_.startReadParams();
String ret_;
ret_ = istr_.readString();
result_.endReadParams();
return ret_;
}
finally
{
if(result_ != null)
{
result_.cacheMessageBuffers();
}
}
}
static public void _iceI_getReplicaName_completed(Ice.TwowayCallbackArg1 cb, Ice.AsyncResult result)
{
IceGrid.AdminSessionPrx _proxy = (IceGrid.AdminSessionPrx)result.getProxy();
String ret = null;
try
{
ret = _proxy.end_getReplicaName(result);
}
catch(Ice.LocalException ex)
{
cb.exception(ex);
return;
}
catch(Ice.SystemException ex)
{
cb.exception(ex);
return;
}
cb.response(ret);
}
private static final String _openServerLog_name = "openServerLog";
public FileIteratorPrx openServerLog(String id, String path, int count)
throws DeploymentException,
FileNotAvailableException,
NodeUnreachableException,
ServerNotExistException
{
return _iceI_openServerLog(id, path, count, null, false);
}
public FileIteratorPrx openServerLog(String id, String path, int count, java.util.Map context)
throws DeploymentException,
FileNotAvailableException,
NodeUnreachableException,
ServerNotExistException
{
return _iceI_openServerLog(id, path, count, context, true);
}
private FileIteratorPrx _iceI_openServerLog(String iceP_id, String iceP_path, int iceP_count, java.util.Map context, boolean explicitCtx)
throws DeploymentException,
FileNotAvailableException,
NodeUnreachableException,
ServerNotExistException
{
_checkTwowayOnly(_openServerLog_name);
return end_openServerLog(_iceI_begin_openServerLog(iceP_id, iceP_path, iceP_count, context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_openServerLog(String id, String path, int count)
{
return _iceI_begin_openServerLog(id, path, count, null, false, false, null);
}
public Ice.AsyncResult begin_openServerLog(String id, String path, int count, java.util.Map context)
{
return _iceI_begin_openServerLog(id, path, count, context, true, false, null);
}
public Ice.AsyncResult begin_openServerLog(String id, String path, int count, Ice.Callback cb)
{
return _iceI_begin_openServerLog(id, path, count, null, false, false, cb);
}
public Ice.AsyncResult begin_openServerLog(String id, String path, int count, java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_openServerLog(id, path, count, context, true, false, cb);
}
public Ice.AsyncResult begin_openServerLog(String id, String path, int count, Callback_AdminSession_openServerLog cb)
{
return _iceI_begin_openServerLog(id, path, count, null, false, false, cb);
}
public Ice.AsyncResult begin_openServerLog(String id, String path, int count, java.util.Map context, Callback_AdminSession_openServerLog cb)
{
return _iceI_begin_openServerLog(id, path, count, context, true, false, cb);
}
public Ice.AsyncResult begin_openServerLog(String id,
String path,
int count,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_openServerLog(id, path, count, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_openServerLog(String id,
String path,
int count,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_openServerLog(id, path, count, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_openServerLog(String id,
String path,
int count,
java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_openServerLog(id, path, count, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_openServerLog(String id,
String path,
int count,
java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_openServerLog(id, path, count, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_openServerLog(String iceP_id,
String iceP_path,
int iceP_count,
java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_openServerLog(iceP_id,
iceP_path,
iceP_count,
context,
explicitCtx,
synchronous,
new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
{
public final void _iceCompleted(Ice.AsyncResult result)
{
AdminSessionPrxHelper._iceI_openServerLog_completed(this, result);
}
});
}
private Ice.AsyncResult _iceI_begin_openServerLog(String iceP_id,
String iceP_path,
int iceP_count,
java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
_checkAsyncTwowayOnly(_openServerLog_name);
IceInternal.OutgoingAsync result = getOutgoingAsync(_openServerLog_name, cb);
try
{
result.prepare(_openServerLog_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
ostr.writeString(iceP_id);
ostr.writeString(iceP_path);
ostr.writeInt(iceP_count);
result.endWriteParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public FileIteratorPrx end_openServerLog(Ice.AsyncResult iresult)
throws DeploymentException,
FileNotAvailableException,
NodeUnreachableException,
ServerNotExistException
{
IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _openServerLog_name);
try
{
if(!result_.waitForResponseOrUserEx())
{
try
{
result_.throwUserException();
}
catch(DeploymentException ex_)
{
throw ex_;
}
catch(FileNotAvailableException ex_)
{
throw ex_;
}
catch(NodeUnreachableException ex_)
{
throw ex_;
}
catch(ServerNotExistException ex_)
{
throw ex_;
}
catch(Ice.UserException ex_)
{
throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
}
}
Ice.InputStream istr_ = result_.startReadParams();
FileIteratorPrx ret_;
ret_ = FileIteratorPrxHelper.read(istr_);
result_.endReadParams();
return ret_;
}
finally
{
if(result_ != null)
{
result_.cacheMessageBuffers();
}
}
}
static public void _iceI_openServerLog_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
{
IceGrid.AdminSessionPrx _proxy = (IceGrid.AdminSessionPrx)result.getProxy();
FileIteratorPrx ret = null;
try
{
ret = _proxy.end_openServerLog(result);
}
catch(Ice.UserException ex)
{
cb.exception(ex);
return;
}
catch(Ice.LocalException ex)
{
cb.exception(ex);
return;
}
catch(Ice.SystemException ex)
{
cb.exception(ex);
return;
}
cb.response(ret);
}
private static final String _openServerStdErr_name = "openServerStdErr";
public FileIteratorPrx openServerStdErr(String id, int count)
throws DeploymentException,
FileNotAvailableException,
NodeUnreachableException,
ServerNotExistException
{
return _iceI_openServerStdErr(id, count, null, false);
}
public FileIteratorPrx openServerStdErr(String id, int count, java.util.Map context)
throws DeploymentException,
FileNotAvailableException,
NodeUnreachableException,
ServerNotExistException
{
return _iceI_openServerStdErr(id, count, context, true);
}
private FileIteratorPrx _iceI_openServerStdErr(String iceP_id, int iceP_count, java.util.Map context, boolean explicitCtx)
throws DeploymentException,
FileNotAvailableException,
NodeUnreachableException,
ServerNotExistException
{
_checkTwowayOnly(_openServerStdErr_name);
return end_openServerStdErr(_iceI_begin_openServerStdErr(iceP_id, iceP_count, context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_openServerStdErr(String id, int count)
{
return _iceI_begin_openServerStdErr(id, count, null, false, false, null);
}
public Ice.AsyncResult begin_openServerStdErr(String id, int count, java.util.Map context)
{
return _iceI_begin_openServerStdErr(id, count, context, true, false, null);
}
public Ice.AsyncResult begin_openServerStdErr(String id, int count, Ice.Callback cb)
{
return _iceI_begin_openServerStdErr(id, count, null, false, false, cb);
}
public Ice.AsyncResult begin_openServerStdErr(String id, int count, java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_openServerStdErr(id, count, context, true, false, cb);
}
public Ice.AsyncResult begin_openServerStdErr(String id, int count, Callback_AdminSession_openServerStdErr cb)
{
return _iceI_begin_openServerStdErr(id, count, null, false, false, cb);
}
public Ice.AsyncResult begin_openServerStdErr(String id, int count, java.util.Map context, Callback_AdminSession_openServerStdErr cb)
{
return _iceI_begin_openServerStdErr(id, count, context, true, false, cb);
}
public Ice.AsyncResult begin_openServerStdErr(String id,
int count,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_openServerStdErr(id, count, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_openServerStdErr(String id,
int count,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_openServerStdErr(id, count, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_openServerStdErr(String id,
int count,
java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_openServerStdErr(id, count, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_openServerStdErr(String id,
int count,
java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_openServerStdErr(id, count, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_openServerStdErr(String iceP_id,
int iceP_count,
java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_openServerStdErr(iceP_id,
iceP_count,
context,
explicitCtx,
synchronous,
new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
{
public final void _iceCompleted(Ice.AsyncResult result)
{
AdminSessionPrxHelper._iceI_openServerStdErr_completed(this, result);
}
});
}
private Ice.AsyncResult _iceI_begin_openServerStdErr(String iceP_id,
int iceP_count,
java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
_checkAsyncTwowayOnly(_openServerStdErr_name);
IceInternal.OutgoingAsync result = getOutgoingAsync(_openServerStdErr_name, cb);
try
{
result.prepare(_openServerStdErr_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
ostr.writeString(iceP_id);
ostr.writeInt(iceP_count);
result.endWriteParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public FileIteratorPrx end_openServerStdErr(Ice.AsyncResult iresult)
throws DeploymentException,
FileNotAvailableException,
NodeUnreachableException,
ServerNotExistException
{
IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _openServerStdErr_name);
try
{
if(!result_.waitForResponseOrUserEx())
{
try
{
result_.throwUserException();
}
catch(DeploymentException ex_)
{
throw ex_;
}
catch(FileNotAvailableException ex_)
{
throw ex_;
}
catch(NodeUnreachableException ex_)
{
throw ex_;
}
catch(ServerNotExistException ex_)
{
throw ex_;
}
catch(Ice.UserException ex_)
{
throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
}
}
Ice.InputStream istr_ = result_.startReadParams();
FileIteratorPrx ret_;
ret_ = FileIteratorPrxHelper.read(istr_);
result_.endReadParams();
return ret_;
}
finally
{
if(result_ != null)
{
result_.cacheMessageBuffers();
}
}
}
static public void _iceI_openServerStdErr_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
{
IceGrid.AdminSessionPrx _proxy = (IceGrid.AdminSessionPrx)result.getProxy();
FileIteratorPrx ret = null;
try
{
ret = _proxy.end_openServerStdErr(result);
}
catch(Ice.UserException ex)
{
cb.exception(ex);
return;
}
catch(Ice.LocalException ex)
{
cb.exception(ex);
return;
}
catch(Ice.SystemException ex)
{
cb.exception(ex);
return;
}
cb.response(ret);
}
private static final String _openServerStdOut_name = "openServerStdOut";
public FileIteratorPrx openServerStdOut(String id, int count)
throws DeploymentException,
FileNotAvailableException,
NodeUnreachableException,
ServerNotExistException
{
return _iceI_openServerStdOut(id, count, null, false);
}
public FileIteratorPrx openServerStdOut(String id, int count, java.util.Map context)
throws DeploymentException,
FileNotAvailableException,
NodeUnreachableException,
ServerNotExistException
{
return _iceI_openServerStdOut(id, count, context, true);
}
private FileIteratorPrx _iceI_openServerStdOut(String iceP_id, int iceP_count, java.util.Map context, boolean explicitCtx)
throws DeploymentException,
FileNotAvailableException,
NodeUnreachableException,
ServerNotExistException
{
_checkTwowayOnly(_openServerStdOut_name);
return end_openServerStdOut(_iceI_begin_openServerStdOut(iceP_id, iceP_count, context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_openServerStdOut(String id, int count)
{
return _iceI_begin_openServerStdOut(id, count, null, false, false, null);
}
public Ice.AsyncResult begin_openServerStdOut(String id, int count, java.util.Map context)
{
return _iceI_begin_openServerStdOut(id, count, context, true, false, null);
}
public Ice.AsyncResult begin_openServerStdOut(String id, int count, Ice.Callback cb)
{
return _iceI_begin_openServerStdOut(id, count, null, false, false, cb);
}
public Ice.AsyncResult begin_openServerStdOut(String id, int count, java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_openServerStdOut(id, count, context, true, false, cb);
}
public Ice.AsyncResult begin_openServerStdOut(String id, int count, Callback_AdminSession_openServerStdOut cb)
{
return _iceI_begin_openServerStdOut(id, count, null, false, false, cb);
}
public Ice.AsyncResult begin_openServerStdOut(String id, int count, java.util.Map context, Callback_AdminSession_openServerStdOut cb)
{
return _iceI_begin_openServerStdOut(id, count, context, true, false, cb);
}
public Ice.AsyncResult begin_openServerStdOut(String id,
int count,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_openServerStdOut(id, count, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_openServerStdOut(String id,
int count,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_openServerStdOut(id, count, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
public Ice.AsyncResult begin_openServerStdOut(String id,
int count,
java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb)
{
return _iceI_begin_openServerStdOut(id, count, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
}
public Ice.AsyncResult begin_openServerStdOut(String id,
int count,
java.util.Map context,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_openServerStdOut(id, count, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
}
private Ice.AsyncResult _iceI_begin_openServerStdOut(String iceP_id,
int iceP_count,
java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb)
{
return _iceI_begin_openServerStdOut(iceP_id,
iceP_count,
context,
explicitCtx,
synchronous,
new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
{
public final void _iceCompleted(Ice.AsyncResult result)
{
AdminSessionPrxHelper._iceI_openServerStdOut_completed(this, result);
}
});
}
private Ice.AsyncResult _iceI_begin_openServerStdOut(String iceP_id,
int iceP_count,
java.util.Map context,
boolean explicitCtx,
boolean synchronous,
IceInternal.CallbackBase cb)
{
_checkAsyncTwowayOnly(_openServerStdOut_name);
IceInternal.OutgoingAsync result = getOutgoingAsync(_openServerStdOut_name, cb);
try
{
result.prepare(_openServerStdOut_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
ostr.writeString(iceP_id);
ostr.writeInt(iceP_count);
result.endWriteParams();
result.invoke();
}
catch(Ice.Exception ex)
{
result.abort(ex);
}
return result;
}
public FileIteratorPrx end_openServerStdOut(Ice.AsyncResult iresult)
throws DeploymentException,
FileNotAvailableException,
NodeUnreachableException,
ServerNotExistException
{
IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _openServerStdOut_name);
try
{
if(!result_.waitForResponseOrUserEx())
{
try
{
result_.throwUserException();
}
catch(DeploymentException ex_)
{
throw ex_;
}
catch(FileNotAvailableException ex_)
{
throw ex_;
}
catch(NodeUnreachableException ex_)
{
throw ex_;
}
catch(ServerNotExistException ex_)
{
throw ex_;
}
catch(Ice.UserException ex_)
{
throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
}
}
Ice.InputStream istr_ = result_.startReadParams();
FileIteratorPrx ret_;
ret_ = FileIteratorPrxHelper.read(istr_);
result_.endReadParams();
return ret_;
}
finally
{
if(result_ != null)
{
result_.cacheMessageBuffers();
}
}
}
static public void _iceI_openServerStdOut_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
{
IceGrid.AdminSessionPrx _proxy = (IceGrid.AdminSessionPrx)result.getProxy();
FileIteratorPrx ret = null;
try
{
ret = _proxy.end_openServerStdOut(result);
}
catch(Ice.UserException ex)
{
cb.exception(ex);
return;
}
catch(Ice.LocalException ex)
{
cb.exception(ex);
return;
}
catch(Ice.SystemException ex)
{
cb.exception(ex);
return;
}
cb.response(ret);
}
private static final String _openNodeStdErr_name = "openNodeStdErr";
public FileIteratorPrx openNodeStdErr(String name, int count)
throws FileNotAvailableException,
NodeNotExistException,
NodeUnreachableException
{
return _iceI_openNodeStdErr(name, count, null, false);
}
public FileIteratorPrx openNodeStdErr(String name, int count, java.util.Map context)
throws FileNotAvailableException,
NodeNotExistException,
NodeUnreachableException
{
return _iceI_openNodeStdErr(name, count, context, true);
}
private FileIteratorPrx _iceI_openNodeStdErr(String iceP_name, int iceP_count, java.util.Map context, boolean explicitCtx)
throws FileNotAvailableException,
NodeNotExistException,
NodeUnreachableException
{
_checkTwowayOnly(_openNodeStdErr_name);
return end_openNodeStdErr(_iceI_begin_openNodeStdErr(iceP_name, iceP_count, context, explicitCtx, true, null));
}
public Ice.AsyncResult begin_openNodeStdErr(String name, int count)
{
return _iceI_begin_openNodeStdErr(name, count, null, false, false, null);
}
public Ice.AsyncResult begin_openNodeStdErr(String name, int count, java.util.Map context)
{
return _iceI_begin_openNodeStdErr(name, count, context, true, false, null);
}
public Ice.AsyncResult begin_openNodeStdErr(String name, int count, Ice.Callback cb)
{
return _iceI_begin_openNodeStdErr(name, count, null, false, false, cb);
}
public Ice.AsyncResult begin_openNodeStdErr(String name, int count, java.util.Map context, Ice.Callback cb)
{
return _iceI_begin_openNodeStdErr(name, count, context, true, false, cb);
}
public Ice.AsyncResult begin_openNodeStdErr(String name, int count, Callback_AdminSession_openNodeStdErr cb)
{
return _iceI_begin_openNodeStdErr(name, count, null, false, false, cb);
}
public Ice.AsyncResult begin_openNodeStdErr(String name, int count, java.util.Map context, Callback_AdminSession_openNodeStdErr cb)
{
return _iceI_begin_openNodeStdErr(name, count, context, true, false, cb);
}
public Ice.AsyncResult begin_openNodeStdErr(String name,
int count,
IceInternal.Functional_GenericCallback1 responseCb,
IceInternal.Functional_GenericCallback1