All Downloads are FREE. Search and download functionalities are using the official Maven repository.

IceGrid.AdminPrxHelper Maven / Gradle / Ivy

There is a newer version: 3.7.10
Show newest version
//
// 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 AdminPrxHelper extends Ice.ObjectPrxHelperBase implements AdminPrx
{
    private static final String _addApplication_name = "addApplication";

    public void addApplication(ApplicationDescriptor descriptor)
        throws AccessDeniedException,
               DeploymentException
    {
        _iceI_addApplication(descriptor, null, false);
    }

    public void addApplication(ApplicationDescriptor descriptor, java.util.Map context)
        throws AccessDeniedException,
               DeploymentException
    {
        _iceI_addApplication(descriptor, context, true);
    }

    private void _iceI_addApplication(ApplicationDescriptor iceP_descriptor, java.util.Map context, boolean explicitCtx)
        throws AccessDeniedException,
               DeploymentException
    {
        _checkTwowayOnly(_addApplication_name);
        end_addApplication(_iceI_begin_addApplication(iceP_descriptor, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_addApplication(ApplicationDescriptor descriptor)
    {
        return _iceI_begin_addApplication(descriptor, null, false, false, null);
    }

    public Ice.AsyncResult begin_addApplication(ApplicationDescriptor descriptor, java.util.Map context)
    {
        return _iceI_begin_addApplication(descriptor, context, true, false, null);
    }

    public Ice.AsyncResult begin_addApplication(ApplicationDescriptor descriptor, Ice.Callback cb)
    {
        return _iceI_begin_addApplication(descriptor, null, false, false, cb);
    }

    public Ice.AsyncResult begin_addApplication(ApplicationDescriptor descriptor, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_addApplication(descriptor, context, true, false, cb);
    }

    public Ice.AsyncResult begin_addApplication(ApplicationDescriptor descriptor, Callback_Admin_addApplication cb)
    {
        return _iceI_begin_addApplication(descriptor, null, false, false, cb);
    }

    public Ice.AsyncResult begin_addApplication(ApplicationDescriptor descriptor, java.util.Map context, Callback_Admin_addApplication cb)
    {
        return _iceI_begin_addApplication(descriptor, context, true, false, cb);
    }

    public Ice.AsyncResult begin_addApplication(ApplicationDescriptor descriptor,
                                                IceInternal.Functional_VoidCallback responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_addApplication(descriptor, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_addApplication(ApplicationDescriptor descriptor,
                                                IceInternal.Functional_VoidCallback responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb,
                                                IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_addApplication(descriptor, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_addApplication(ApplicationDescriptor descriptor,
                                                java.util.Map context,
                                                IceInternal.Functional_VoidCallback responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_addApplication(descriptor, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_addApplication(ApplicationDescriptor descriptor,
                                                java.util.Map context,
                                                IceInternal.Functional_VoidCallback responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb,
                                                IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_addApplication(descriptor, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_addApplication(ApplicationDescriptor iceP_descriptor,
                                                       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_addApplication(iceP_descriptor,
                                          context,
                                          explicitCtx,
                                          synchronous,
                                          new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                              {
                                                  public final void _iceCompleted(Ice.AsyncResult result)
                                                  {
                                                      AdminPrxHelper._iceI_addApplication_completed(this, result);
                                                  }
                                              });
    }

    private Ice.AsyncResult _iceI_begin_addApplication(ApplicationDescriptor iceP_descriptor,
                                                       java.util.Map context,
                                                       boolean explicitCtx,
                                                       boolean synchronous,
                                                       IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_addApplication_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_addApplication_name, cb);
        try
        {
            result.prepare(_addApplication_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ApplicationDescriptor.ice_write(ostr, iceP_descriptor);
            ostr.writePendingValues();
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_addApplication(Ice.AsyncResult iresult)
        throws AccessDeniedException,
               DeploymentException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _addApplication_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(AccessDeniedException ex_)
                {
                    throw ex_;
                }
                catch(DeploymentException 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_addApplication_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_addApplication(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 _syncApplication_name = "syncApplication";

    public void syncApplication(ApplicationDescriptor descriptor)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _iceI_syncApplication(descriptor, null, false);
    }

    public void syncApplication(ApplicationDescriptor descriptor, java.util.Map context)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _iceI_syncApplication(descriptor, context, true);
    }

    private void _iceI_syncApplication(ApplicationDescriptor iceP_descriptor, java.util.Map context, boolean explicitCtx)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _checkTwowayOnly(_syncApplication_name);
        end_syncApplication(_iceI_begin_syncApplication(iceP_descriptor, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_syncApplication(ApplicationDescriptor descriptor)
    {
        return _iceI_begin_syncApplication(descriptor, null, false, false, null);
    }

    public Ice.AsyncResult begin_syncApplication(ApplicationDescriptor descriptor, java.util.Map context)
    {
        return _iceI_begin_syncApplication(descriptor, context, true, false, null);
    }

    public Ice.AsyncResult begin_syncApplication(ApplicationDescriptor descriptor, Ice.Callback cb)
    {
        return _iceI_begin_syncApplication(descriptor, null, false, false, cb);
    }

    public Ice.AsyncResult begin_syncApplication(ApplicationDescriptor descriptor, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_syncApplication(descriptor, context, true, false, cb);
    }

    public Ice.AsyncResult begin_syncApplication(ApplicationDescriptor descriptor, Callback_Admin_syncApplication cb)
    {
        return _iceI_begin_syncApplication(descriptor, null, false, false, cb);
    }

    public Ice.AsyncResult begin_syncApplication(ApplicationDescriptor descriptor, java.util.Map context, Callback_Admin_syncApplication cb)
    {
        return _iceI_begin_syncApplication(descriptor, context, true, false, cb);
    }

    public Ice.AsyncResult begin_syncApplication(ApplicationDescriptor descriptor,
                                                 IceInternal.Functional_VoidCallback responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_syncApplication(descriptor, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_syncApplication(ApplicationDescriptor descriptor,
                                                 IceInternal.Functional_VoidCallback responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_syncApplication(descriptor, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_syncApplication(ApplicationDescriptor descriptor,
                                                 java.util.Map context,
                                                 IceInternal.Functional_VoidCallback responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_syncApplication(descriptor, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_syncApplication(ApplicationDescriptor descriptor,
                                                 java.util.Map context,
                                                 IceInternal.Functional_VoidCallback responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_syncApplication(descriptor, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_syncApplication(ApplicationDescriptor iceP_descriptor,
                                                        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_syncApplication(iceP_descriptor,
                                           context,
                                           explicitCtx,
                                           synchronous,
                                           new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                               {
                                                   public final void _iceCompleted(Ice.AsyncResult result)
                                                   {
                                                       AdminPrxHelper._iceI_syncApplication_completed(this, result);
                                                   }
                                               });
    }

    private Ice.AsyncResult _iceI_begin_syncApplication(ApplicationDescriptor iceP_descriptor,
                                                        java.util.Map context,
                                                        boolean explicitCtx,
                                                        boolean synchronous,
                                                        IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_syncApplication_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_syncApplication_name, cb);
        try
        {
            result.prepare(_syncApplication_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ApplicationDescriptor.ice_write(ostr, iceP_descriptor);
            ostr.writePendingValues();
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_syncApplication(Ice.AsyncResult iresult)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _syncApplication_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(AccessDeniedException ex_)
                {
                    throw ex_;
                }
                catch(ApplicationNotExistException ex_)
                {
                    throw ex_;
                }
                catch(DeploymentException 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_syncApplication_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_syncApplication(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 _updateApplication_name = "updateApplication";

    public void updateApplication(ApplicationUpdateDescriptor descriptor)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _iceI_updateApplication(descriptor, null, false);
    }

    public void updateApplication(ApplicationUpdateDescriptor descriptor, java.util.Map context)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _iceI_updateApplication(descriptor, context, true);
    }

    private void _iceI_updateApplication(ApplicationUpdateDescriptor iceP_descriptor, java.util.Map context, boolean explicitCtx)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _checkTwowayOnly(_updateApplication_name);
        end_updateApplication(_iceI_begin_updateApplication(iceP_descriptor, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_updateApplication(ApplicationUpdateDescriptor descriptor)
    {
        return _iceI_begin_updateApplication(descriptor, null, false, false, null);
    }

    public Ice.AsyncResult begin_updateApplication(ApplicationUpdateDescriptor descriptor, java.util.Map context)
    {
        return _iceI_begin_updateApplication(descriptor, context, true, false, null);
    }

    public Ice.AsyncResult begin_updateApplication(ApplicationUpdateDescriptor descriptor, Ice.Callback cb)
    {
        return _iceI_begin_updateApplication(descriptor, null, false, false, cb);
    }

    public Ice.AsyncResult begin_updateApplication(ApplicationUpdateDescriptor descriptor, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_updateApplication(descriptor, context, true, false, cb);
    }

    public Ice.AsyncResult begin_updateApplication(ApplicationUpdateDescriptor descriptor, Callback_Admin_updateApplication cb)
    {
        return _iceI_begin_updateApplication(descriptor, null, false, false, cb);
    }

    public Ice.AsyncResult begin_updateApplication(ApplicationUpdateDescriptor descriptor, java.util.Map context, Callback_Admin_updateApplication cb)
    {
        return _iceI_begin_updateApplication(descriptor, context, true, false, cb);
    }

    public Ice.AsyncResult begin_updateApplication(ApplicationUpdateDescriptor descriptor,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_updateApplication(descriptor, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_updateApplication(ApplicationUpdateDescriptor descriptor,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb,
                                                   IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_updateApplication(descriptor, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_updateApplication(ApplicationUpdateDescriptor descriptor,
                                                   java.util.Map context,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_updateApplication(descriptor, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_updateApplication(ApplicationUpdateDescriptor descriptor,
                                                   java.util.Map context,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb,
                                                   IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_updateApplication(descriptor, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_updateApplication(ApplicationUpdateDescriptor iceP_descriptor,
                                                          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_updateApplication(iceP_descriptor,
                                             context,
                                             explicitCtx,
                                             synchronous,
                                             new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                                 {
                                                     public final void _iceCompleted(Ice.AsyncResult result)
                                                     {
                                                         AdminPrxHelper._iceI_updateApplication_completed(this, result);
                                                     }
                                                 });
    }

    private Ice.AsyncResult _iceI_begin_updateApplication(ApplicationUpdateDescriptor iceP_descriptor,
                                                          java.util.Map context,
                                                          boolean explicitCtx,
                                                          boolean synchronous,
                                                          IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_updateApplication_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_updateApplication_name, cb);
        try
        {
            result.prepare(_updateApplication_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ApplicationUpdateDescriptor.ice_write(ostr, iceP_descriptor);
            ostr.writePendingValues();
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_updateApplication(Ice.AsyncResult iresult)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _updateApplication_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(AccessDeniedException ex_)
                {
                    throw ex_;
                }
                catch(ApplicationNotExistException ex_)
                {
                    throw ex_;
                }
                catch(DeploymentException 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_updateApplication_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_updateApplication(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 _syncApplicationWithoutRestart_name = "syncApplicationWithoutRestart";

    public void syncApplicationWithoutRestart(ApplicationDescriptor descriptor)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _iceI_syncApplicationWithoutRestart(descriptor, null, false);
    }

    public void syncApplicationWithoutRestart(ApplicationDescriptor descriptor, java.util.Map context)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _iceI_syncApplicationWithoutRestart(descriptor, context, true);
    }

    private void _iceI_syncApplicationWithoutRestart(ApplicationDescriptor iceP_descriptor, java.util.Map context, boolean explicitCtx)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _checkTwowayOnly(_syncApplicationWithoutRestart_name);
        end_syncApplicationWithoutRestart(_iceI_begin_syncApplicationWithoutRestart(iceP_descriptor, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_syncApplicationWithoutRestart(ApplicationDescriptor descriptor)
    {
        return _iceI_begin_syncApplicationWithoutRestart(descriptor, null, false, false, null);
    }

    public Ice.AsyncResult begin_syncApplicationWithoutRestart(ApplicationDescriptor descriptor, java.util.Map context)
    {
        return _iceI_begin_syncApplicationWithoutRestart(descriptor, context, true, false, null);
    }

    public Ice.AsyncResult begin_syncApplicationWithoutRestart(ApplicationDescriptor descriptor, Ice.Callback cb)
    {
        return _iceI_begin_syncApplicationWithoutRestart(descriptor, null, false, false, cb);
    }

    public Ice.AsyncResult begin_syncApplicationWithoutRestart(ApplicationDescriptor descriptor, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_syncApplicationWithoutRestart(descriptor, context, true, false, cb);
    }

    public Ice.AsyncResult begin_syncApplicationWithoutRestart(ApplicationDescriptor descriptor, Callback_Admin_syncApplicationWithoutRestart cb)
    {
        return _iceI_begin_syncApplicationWithoutRestart(descriptor, null, false, false, cb);
    }

    public Ice.AsyncResult begin_syncApplicationWithoutRestart(ApplicationDescriptor descriptor, java.util.Map context, Callback_Admin_syncApplicationWithoutRestart cb)
    {
        return _iceI_begin_syncApplicationWithoutRestart(descriptor, context, true, false, cb);
    }

    public Ice.AsyncResult begin_syncApplicationWithoutRestart(ApplicationDescriptor descriptor,
                                                               IceInternal.Functional_VoidCallback responseCb,
                                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                               IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_syncApplicationWithoutRestart(descriptor, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_syncApplicationWithoutRestart(ApplicationDescriptor descriptor,
                                                               IceInternal.Functional_VoidCallback responseCb,
                                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                               IceInternal.Functional_GenericCallback1 exceptionCb,
                                                               IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_syncApplicationWithoutRestart(descriptor, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_syncApplicationWithoutRestart(ApplicationDescriptor descriptor,
                                                               java.util.Map context,
                                                               IceInternal.Functional_VoidCallback responseCb,
                                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                               IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_syncApplicationWithoutRestart(descriptor, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_syncApplicationWithoutRestart(ApplicationDescriptor descriptor,
                                                               java.util.Map context,
                                                               IceInternal.Functional_VoidCallback responseCb,
                                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                               IceInternal.Functional_GenericCallback1 exceptionCb,
                                                               IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_syncApplicationWithoutRestart(descriptor, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_syncApplicationWithoutRestart(ApplicationDescriptor iceP_descriptor,
                                                                      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_syncApplicationWithoutRestart(iceP_descriptor,
                                                         context,
                                                         explicitCtx,
                                                         synchronous,
                                                         new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                                             {
                                                                 public final void _iceCompleted(Ice.AsyncResult result)
                                                                 {
                                                                     AdminPrxHelper._iceI_syncApplicationWithoutRestart_completed(this, result);
                                                                 }
                                                             });
    }

    private Ice.AsyncResult _iceI_begin_syncApplicationWithoutRestart(ApplicationDescriptor iceP_descriptor,
                                                                      java.util.Map context,
                                                                      boolean explicitCtx,
                                                                      boolean synchronous,
                                                                      IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_syncApplicationWithoutRestart_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_syncApplicationWithoutRestart_name, cb);
        try
        {
            result.prepare(_syncApplicationWithoutRestart_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ApplicationDescriptor.ice_write(ostr, iceP_descriptor);
            ostr.writePendingValues();
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_syncApplicationWithoutRestart(Ice.AsyncResult iresult)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _syncApplicationWithoutRestart_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(AccessDeniedException ex_)
                {
                    throw ex_;
                }
                catch(ApplicationNotExistException ex_)
                {
                    throw ex_;
                }
                catch(DeploymentException 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_syncApplicationWithoutRestart_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_syncApplicationWithoutRestart(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 _updateApplicationWithoutRestart_name = "updateApplicationWithoutRestart";

    public void updateApplicationWithoutRestart(ApplicationUpdateDescriptor descriptor)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _iceI_updateApplicationWithoutRestart(descriptor, null, false);
    }

    public void updateApplicationWithoutRestart(ApplicationUpdateDescriptor descriptor, java.util.Map context)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _iceI_updateApplicationWithoutRestart(descriptor, context, true);
    }

    private void _iceI_updateApplicationWithoutRestart(ApplicationUpdateDescriptor iceP_descriptor, java.util.Map context, boolean explicitCtx)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _checkTwowayOnly(_updateApplicationWithoutRestart_name);
        end_updateApplicationWithoutRestart(_iceI_begin_updateApplicationWithoutRestart(iceP_descriptor, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_updateApplicationWithoutRestart(ApplicationUpdateDescriptor descriptor)
    {
        return _iceI_begin_updateApplicationWithoutRestart(descriptor, null, false, false, null);
    }

    public Ice.AsyncResult begin_updateApplicationWithoutRestart(ApplicationUpdateDescriptor descriptor, java.util.Map context)
    {
        return _iceI_begin_updateApplicationWithoutRestart(descriptor, context, true, false, null);
    }

    public Ice.AsyncResult begin_updateApplicationWithoutRestart(ApplicationUpdateDescriptor descriptor, Ice.Callback cb)
    {
        return _iceI_begin_updateApplicationWithoutRestart(descriptor, null, false, false, cb);
    }

    public Ice.AsyncResult begin_updateApplicationWithoutRestart(ApplicationUpdateDescriptor descriptor, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_updateApplicationWithoutRestart(descriptor, context, true, false, cb);
    }

    public Ice.AsyncResult begin_updateApplicationWithoutRestart(ApplicationUpdateDescriptor descriptor, Callback_Admin_updateApplicationWithoutRestart cb)
    {
        return _iceI_begin_updateApplicationWithoutRestart(descriptor, null, false, false, cb);
    }

    public Ice.AsyncResult begin_updateApplicationWithoutRestart(ApplicationUpdateDescriptor descriptor, java.util.Map context, Callback_Admin_updateApplicationWithoutRestart cb)
    {
        return _iceI_begin_updateApplicationWithoutRestart(descriptor, context, true, false, cb);
    }

    public Ice.AsyncResult begin_updateApplicationWithoutRestart(ApplicationUpdateDescriptor descriptor,
                                                                 IceInternal.Functional_VoidCallback responseCb,
                                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_updateApplicationWithoutRestart(descriptor, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_updateApplicationWithoutRestart(ApplicationUpdateDescriptor descriptor,
                                                                 IceInternal.Functional_VoidCallback responseCb,
                                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_updateApplicationWithoutRestart(descriptor, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_updateApplicationWithoutRestart(ApplicationUpdateDescriptor descriptor,
                                                                 java.util.Map context,
                                                                 IceInternal.Functional_VoidCallback responseCb,
                                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_updateApplicationWithoutRestart(descriptor, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_updateApplicationWithoutRestart(ApplicationUpdateDescriptor descriptor,
                                                                 java.util.Map context,
                                                                 IceInternal.Functional_VoidCallback responseCb,
                                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_updateApplicationWithoutRestart(descriptor, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_updateApplicationWithoutRestart(ApplicationUpdateDescriptor iceP_descriptor,
                                                                        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_updateApplicationWithoutRestart(iceP_descriptor,
                                                           context,
                                                           explicitCtx,
                                                           synchronous,
                                                           new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                                               {
                                                                   public final void _iceCompleted(Ice.AsyncResult result)
                                                                   {
                                                                       AdminPrxHelper._iceI_updateApplicationWithoutRestart_completed(this, result);
                                                                   }
                                                               });
    }

    private Ice.AsyncResult _iceI_begin_updateApplicationWithoutRestart(ApplicationUpdateDescriptor iceP_descriptor,
                                                                        java.util.Map context,
                                                                        boolean explicitCtx,
                                                                        boolean synchronous,
                                                                        IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_updateApplicationWithoutRestart_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_updateApplicationWithoutRestart_name, cb);
        try
        {
            result.prepare(_updateApplicationWithoutRestart_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ApplicationUpdateDescriptor.ice_write(ostr, iceP_descriptor);
            ostr.writePendingValues();
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_updateApplicationWithoutRestart(Ice.AsyncResult iresult)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _updateApplicationWithoutRestart_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(AccessDeniedException ex_)
                {
                    throw ex_;
                }
                catch(ApplicationNotExistException ex_)
                {
                    throw ex_;
                }
                catch(DeploymentException 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_updateApplicationWithoutRestart_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_updateApplicationWithoutRestart(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 _removeApplication_name = "removeApplication";

    public void removeApplication(String name)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _iceI_removeApplication(name, null, false);
    }

    public void removeApplication(String name, java.util.Map context)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _iceI_removeApplication(name, context, true);
    }

    private void _iceI_removeApplication(String iceP_name, java.util.Map context, boolean explicitCtx)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _checkTwowayOnly(_removeApplication_name);
        end_removeApplication(_iceI_begin_removeApplication(iceP_name, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_removeApplication(String name)
    {
        return _iceI_begin_removeApplication(name, null, false, false, null);
    }

    public Ice.AsyncResult begin_removeApplication(String name, java.util.Map context)
    {
        return _iceI_begin_removeApplication(name, context, true, false, null);
    }

    public Ice.AsyncResult begin_removeApplication(String name, Ice.Callback cb)
    {
        return _iceI_begin_removeApplication(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_removeApplication(String name, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_removeApplication(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_removeApplication(String name, Callback_Admin_removeApplication cb)
    {
        return _iceI_begin_removeApplication(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_removeApplication(String name, java.util.Map context, Callback_Admin_removeApplication cb)
    {
        return _iceI_begin_removeApplication(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_removeApplication(String name,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_removeApplication(name, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_removeApplication(String name,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb,
                                                   IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_removeApplication(name, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_removeApplication(String name,
                                                   java.util.Map context,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_removeApplication(name, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_removeApplication(String name,
                                                   java.util.Map context,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb,
                                                   IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_removeApplication(name, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_removeApplication(String iceP_name,
                                                          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_removeApplication(iceP_name,
                                             context,
                                             explicitCtx,
                                             synchronous,
                                             new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                                 {
                                                     public final void _iceCompleted(Ice.AsyncResult result)
                                                     {
                                                         AdminPrxHelper._iceI_removeApplication_completed(this, result);
                                                     }
                                                 });
    }

    private Ice.AsyncResult _iceI_begin_removeApplication(String iceP_name,
                                                          java.util.Map context,
                                                          boolean explicitCtx,
                                                          boolean synchronous,
                                                          IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_removeApplication_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_removeApplication_name, cb);
        try
        {
            result.prepare(_removeApplication_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_name);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_removeApplication(Ice.AsyncResult iresult)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _removeApplication_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(AccessDeniedException ex_)
                {
                    throw ex_;
                }
                catch(ApplicationNotExistException ex_)
                {
                    throw ex_;
                }
                catch(DeploymentException 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_removeApplication_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_removeApplication(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 _instantiateServer_name = "instantiateServer";

    public void instantiateServer(String application, String node, ServerInstanceDescriptor desc)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _iceI_instantiateServer(application, node, desc, null, false);
    }

    public void instantiateServer(String application, String node, ServerInstanceDescriptor desc, java.util.Map context)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _iceI_instantiateServer(application, node, desc, context, true);
    }

    private void _iceI_instantiateServer(String iceP_application, String iceP_node, ServerInstanceDescriptor iceP_desc, java.util.Map context, boolean explicitCtx)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        _checkTwowayOnly(_instantiateServer_name);
        end_instantiateServer(_iceI_begin_instantiateServer(iceP_application, iceP_node, iceP_desc, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_instantiateServer(String application, String node, ServerInstanceDescriptor desc)
    {
        return _iceI_begin_instantiateServer(application, node, desc, null, false, false, null);
    }

    public Ice.AsyncResult begin_instantiateServer(String application, String node, ServerInstanceDescriptor desc, java.util.Map context)
    {
        return _iceI_begin_instantiateServer(application, node, desc, context, true, false, null);
    }

    public Ice.AsyncResult begin_instantiateServer(String application, String node, ServerInstanceDescriptor desc, Ice.Callback cb)
    {
        return _iceI_begin_instantiateServer(application, node, desc, null, false, false, cb);
    }

    public Ice.AsyncResult begin_instantiateServer(String application, String node, ServerInstanceDescriptor desc, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_instantiateServer(application, node, desc, context, true, false, cb);
    }

    public Ice.AsyncResult begin_instantiateServer(String application, String node, ServerInstanceDescriptor desc, Callback_Admin_instantiateServer cb)
    {
        return _iceI_begin_instantiateServer(application, node, desc, null, false, false, cb);
    }

    public Ice.AsyncResult begin_instantiateServer(String application, String node, ServerInstanceDescriptor desc, java.util.Map context, Callback_Admin_instantiateServer cb)
    {
        return _iceI_begin_instantiateServer(application, node, desc, context, true, false, cb);
    }

    public Ice.AsyncResult begin_instantiateServer(String application,
                                                   String node,
                                                   ServerInstanceDescriptor desc,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_instantiateServer(application, node, desc, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_instantiateServer(String application,
                                                   String node,
                                                   ServerInstanceDescriptor desc,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb,
                                                   IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_instantiateServer(application, node, desc, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_instantiateServer(String application,
                                                   String node,
                                                   ServerInstanceDescriptor desc,
                                                   java.util.Map context,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_instantiateServer(application, node, desc, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_instantiateServer(String application,
                                                   String node,
                                                   ServerInstanceDescriptor desc,
                                                   java.util.Map context,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb,
                                                   IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_instantiateServer(application, node, desc, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_instantiateServer(String iceP_application,
                                                          String iceP_node,
                                                          ServerInstanceDescriptor iceP_desc,
                                                          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_instantiateServer(iceP_application,
                                             iceP_node,
                                             iceP_desc,
                                             context,
                                             explicitCtx,
                                             synchronous,
                                             new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                                 {
                                                     public final void _iceCompleted(Ice.AsyncResult result)
                                                     {
                                                         AdminPrxHelper._iceI_instantiateServer_completed(this, result);
                                                     }
                                                 });
    }

    private Ice.AsyncResult _iceI_begin_instantiateServer(String iceP_application,
                                                          String iceP_node,
                                                          ServerInstanceDescriptor iceP_desc,
                                                          java.util.Map context,
                                                          boolean explicitCtx,
                                                          boolean synchronous,
                                                          IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_instantiateServer_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_instantiateServer_name, cb);
        try
        {
            result.prepare(_instantiateServer_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_application);
            ostr.writeString(iceP_node);
            ServerInstanceDescriptor.ice_write(ostr, iceP_desc);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_instantiateServer(Ice.AsyncResult iresult)
        throws AccessDeniedException,
               ApplicationNotExistException,
               DeploymentException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _instantiateServer_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(AccessDeniedException ex_)
                {
                    throw ex_;
                }
                catch(ApplicationNotExistException ex_)
                {
                    throw ex_;
                }
                catch(DeploymentException 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_instantiateServer_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_instantiateServer(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 _patchApplication_name = "patchApplication";

    public void patchApplication(String name, boolean shutdown)
        throws ApplicationNotExistException,
               PatchException
    {
        _iceI_patchApplication(name, shutdown, null, false);
    }

    public void patchApplication(String name, boolean shutdown, java.util.Map context)
        throws ApplicationNotExistException,
               PatchException
    {
        _iceI_patchApplication(name, shutdown, context, true);
    }

    private void _iceI_patchApplication(String iceP_name, boolean iceP_shutdown, java.util.Map context, boolean explicitCtx)
        throws ApplicationNotExistException,
               PatchException
    {
        _checkTwowayOnly(_patchApplication_name);
        end_patchApplication(_iceI_begin_patchApplication(iceP_name, iceP_shutdown, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_patchApplication(String name, boolean shutdown)
    {
        return _iceI_begin_patchApplication(name, shutdown, null, false, false, null);
    }

    public Ice.AsyncResult begin_patchApplication(String name, boolean shutdown, java.util.Map context)
    {
        return _iceI_begin_patchApplication(name, shutdown, context, true, false, null);
    }

    public Ice.AsyncResult begin_patchApplication(String name, boolean shutdown, Ice.Callback cb)
    {
        return _iceI_begin_patchApplication(name, shutdown, null, false, false, cb);
    }

    public Ice.AsyncResult begin_patchApplication(String name, boolean shutdown, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_patchApplication(name, shutdown, context, true, false, cb);
    }

    public Ice.AsyncResult begin_patchApplication(String name, boolean shutdown, Callback_Admin_patchApplication cb)
    {
        return _iceI_begin_patchApplication(name, shutdown, null, false, false, cb);
    }

    public Ice.AsyncResult begin_patchApplication(String name, boolean shutdown, java.util.Map context, Callback_Admin_patchApplication cb)
    {
        return _iceI_begin_patchApplication(name, shutdown, context, true, false, cb);
    }

    public Ice.AsyncResult begin_patchApplication(String name,
                                                  boolean shutdown,
                                                  IceInternal.Functional_VoidCallback responseCb,
                                                  IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_patchApplication(name, shutdown, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_patchApplication(String name,
                                                  boolean shutdown,
                                                  IceInternal.Functional_VoidCallback responseCb,
                                                  IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb,
                                                  IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_patchApplication(name, shutdown, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_patchApplication(String name,
                                                  boolean shutdown,
                                                  java.util.Map context,
                                                  IceInternal.Functional_VoidCallback responseCb,
                                                  IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_patchApplication(name, shutdown, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_patchApplication(String name,
                                                  boolean shutdown,
                                                  java.util.Map context,
                                                  IceInternal.Functional_VoidCallback responseCb,
                                                  IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb,
                                                  IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_patchApplication(name, shutdown, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_patchApplication(String iceP_name,
                                                         boolean iceP_shutdown,
                                                         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_patchApplication(iceP_name,
                                            iceP_shutdown,
                                            context,
                                            explicitCtx,
                                            synchronous,
                                            new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                                {
                                                    public final void _iceCompleted(Ice.AsyncResult result)
                                                    {
                                                        AdminPrxHelper._iceI_patchApplication_completed(this, result);
                                                    }
                                                });
    }

    private Ice.AsyncResult _iceI_begin_patchApplication(String iceP_name,
                                                         boolean iceP_shutdown,
                                                         java.util.Map context,
                                                         boolean explicitCtx,
                                                         boolean synchronous,
                                                         IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_patchApplication_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_patchApplication_name, cb);
        try
        {
            result.prepare(_patchApplication_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_name);
            ostr.writeBool(iceP_shutdown);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_patchApplication(Ice.AsyncResult iresult)
        throws ApplicationNotExistException,
               PatchException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _patchApplication_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(ApplicationNotExistException ex_)
                {
                    throw ex_;
                }
                catch(PatchException 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_patchApplication_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_patchApplication(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 _getApplicationInfo_name = "getApplicationInfo";

    public ApplicationInfo getApplicationInfo(String name)
        throws ApplicationNotExistException
    {
        return _iceI_getApplicationInfo(name, null, false);
    }

    public ApplicationInfo getApplicationInfo(String name, java.util.Map context)
        throws ApplicationNotExistException
    {
        return _iceI_getApplicationInfo(name, context, true);
    }

    private ApplicationInfo _iceI_getApplicationInfo(String iceP_name, java.util.Map context, boolean explicitCtx)
        throws ApplicationNotExistException
    {
        _checkTwowayOnly(_getApplicationInfo_name);
        return end_getApplicationInfo(_iceI_begin_getApplicationInfo(iceP_name, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getApplicationInfo(String name)
    {
        return _iceI_begin_getApplicationInfo(name, null, false, false, null);
    }

    public Ice.AsyncResult begin_getApplicationInfo(String name, java.util.Map context)
    {
        return _iceI_begin_getApplicationInfo(name, context, true, false, null);
    }

    public Ice.AsyncResult begin_getApplicationInfo(String name, Ice.Callback cb)
    {
        return _iceI_begin_getApplicationInfo(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getApplicationInfo(String name, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getApplicationInfo(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getApplicationInfo(String name, Callback_Admin_getApplicationInfo cb)
    {
        return _iceI_begin_getApplicationInfo(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getApplicationInfo(String name, java.util.Map context, Callback_Admin_getApplicationInfo cb)
    {
        return _iceI_begin_getApplicationInfo(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getApplicationInfo(String name,
                                                    IceInternal.Functional_GenericCallback1 responseCb,
                                                    IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                    IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getApplicationInfo(name, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getApplicationInfo(String name,
                                                    IceInternal.Functional_GenericCallback1 responseCb,
                                                    IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                    IceInternal.Functional_GenericCallback1 exceptionCb,
                                                    IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getApplicationInfo(name, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getApplicationInfo(String name,
                                                    java.util.Map context,
                                                    IceInternal.Functional_GenericCallback1 responseCb,
                                                    IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                    IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getApplicationInfo(name, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getApplicationInfo(String name,
                                                    java.util.Map context,
                                                    IceInternal.Functional_GenericCallback1 responseCb,
                                                    IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                    IceInternal.Functional_GenericCallback1 exceptionCb,
                                                    IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getApplicationInfo(name, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getApplicationInfo(String iceP_name,
                                                           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_getApplicationInfo(iceP_name,
                                              context,
                                              explicitCtx,
                                              synchronous,
                                              new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                                  {
                                                      public final void _iceCompleted(Ice.AsyncResult result)
                                                      {
                                                          AdminPrxHelper._iceI_getApplicationInfo_completed(this, result);
                                                      }
                                                  });
    }

    private Ice.AsyncResult _iceI_begin_getApplicationInfo(String iceP_name,
                                                           java.util.Map context,
                                                           boolean explicitCtx,
                                                           boolean synchronous,
                                                           IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getApplicationInfo_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getApplicationInfo_name, cb);
        try
        {
            result.prepare(_getApplicationInfo_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_name);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public ApplicationInfo end_getApplicationInfo(Ice.AsyncResult iresult)
        throws ApplicationNotExistException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getApplicationInfo_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(ApplicationNotExistException ex_)
                {
                    throw ex_;
                }
                catch(Ice.UserException ex_)
                {
                    throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
                }
            }
            Ice.InputStream istr_ = result_.startReadParams();
            ApplicationInfo ret_ = null;
            ret_ = ApplicationInfo.ice_read(istr_);
            istr_.readPendingValues();
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getApplicationInfo_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        ApplicationInfo ret = null;
        try
        {
            ret = _proxy.end_getApplicationInfo(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 _getDefaultApplicationDescriptor_name = "getDefaultApplicationDescriptor";

    public ApplicationDescriptor getDefaultApplicationDescriptor()
        throws DeploymentException
    {
        return _iceI_getDefaultApplicationDescriptor(null, false);
    }

    public ApplicationDescriptor getDefaultApplicationDescriptor(java.util.Map context)
        throws DeploymentException
    {
        return _iceI_getDefaultApplicationDescriptor(context, true);
    }

    private ApplicationDescriptor _iceI_getDefaultApplicationDescriptor(java.util.Map context, boolean explicitCtx)
        throws DeploymentException
    {
        _checkTwowayOnly(_getDefaultApplicationDescriptor_name);
        return end_getDefaultApplicationDescriptor(_iceI_begin_getDefaultApplicationDescriptor(context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getDefaultApplicationDescriptor()
    {
        return _iceI_begin_getDefaultApplicationDescriptor(null, false, false, null);
    }

    public Ice.AsyncResult begin_getDefaultApplicationDescriptor(java.util.Map context)
    {
        return _iceI_begin_getDefaultApplicationDescriptor(context, true, false, null);
    }

    public Ice.AsyncResult begin_getDefaultApplicationDescriptor(Ice.Callback cb)
    {
        return _iceI_begin_getDefaultApplicationDescriptor(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getDefaultApplicationDescriptor(java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getDefaultApplicationDescriptor(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getDefaultApplicationDescriptor(Callback_Admin_getDefaultApplicationDescriptor cb)
    {
        return _iceI_begin_getDefaultApplicationDescriptor(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getDefaultApplicationDescriptor(java.util.Map context, Callback_Admin_getDefaultApplicationDescriptor cb)
    {
        return _iceI_begin_getDefaultApplicationDescriptor(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getDefaultApplicationDescriptor(IceInternal.Functional_GenericCallback1 responseCb,
                                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getDefaultApplicationDescriptor(null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getDefaultApplicationDescriptor(IceInternal.Functional_GenericCallback1 responseCb,
                                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getDefaultApplicationDescriptor(null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getDefaultApplicationDescriptor(java.util.Map context,
                                                                 IceInternal.Functional_GenericCallback1 responseCb,
                                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getDefaultApplicationDescriptor(context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getDefaultApplicationDescriptor(java.util.Map context,
                                                                 IceInternal.Functional_GenericCallback1 responseCb,
                                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getDefaultApplicationDescriptor(context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getDefaultApplicationDescriptor(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_getDefaultApplicationDescriptor(context,
                                                           explicitCtx,
                                                           synchronous,
                                                           new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                                               {
                                                                   public final void _iceCompleted(Ice.AsyncResult result)
                                                                   {
                                                                       AdminPrxHelper._iceI_getDefaultApplicationDescriptor_completed(this, result);
                                                                   }
                                                               });
    }

    private Ice.AsyncResult _iceI_begin_getDefaultApplicationDescriptor(java.util.Map context,
                                                                        boolean explicitCtx,
                                                                        boolean synchronous,
                                                                        IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getDefaultApplicationDescriptor_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getDefaultApplicationDescriptor_name, cb);
        try
        {
            result.prepare(_getDefaultApplicationDescriptor_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            result.writeEmptyParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public ApplicationDescriptor end_getDefaultApplicationDescriptor(Ice.AsyncResult iresult)
        throws DeploymentException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getDefaultApplicationDescriptor_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(DeploymentException ex_)
                {
                    throw ex_;
                }
                catch(Ice.UserException ex_)
                {
                    throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
                }
            }
            Ice.InputStream istr_ = result_.startReadParams();
            ApplicationDescriptor ret_ = null;
            ret_ = ApplicationDescriptor.ice_read(istr_);
            istr_.readPendingValues();
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getDefaultApplicationDescriptor_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        ApplicationDescriptor ret = null;
        try
        {
            ret = _proxy.end_getDefaultApplicationDescriptor(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 _getAllApplicationNames_name = "getAllApplicationNames";

    public String[] getAllApplicationNames()
    {
        return _iceI_getAllApplicationNames(null, false);
    }

    public String[] getAllApplicationNames(java.util.Map context)
    {
        return _iceI_getAllApplicationNames(context, true);
    }

    private String[] _iceI_getAllApplicationNames(java.util.Map context, boolean explicitCtx)
    {
        _checkTwowayOnly(_getAllApplicationNames_name);
        return end_getAllApplicationNames(_iceI_begin_getAllApplicationNames(context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getAllApplicationNames()
    {
        return _iceI_begin_getAllApplicationNames(null, false, false, null);
    }

    public Ice.AsyncResult begin_getAllApplicationNames(java.util.Map context)
    {
        return _iceI_begin_getAllApplicationNames(context, true, false, null);
    }

    public Ice.AsyncResult begin_getAllApplicationNames(Ice.Callback cb)
    {
        return _iceI_begin_getAllApplicationNames(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getAllApplicationNames(java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getAllApplicationNames(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getAllApplicationNames(Callback_Admin_getAllApplicationNames cb)
    {
        return _iceI_begin_getAllApplicationNames(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getAllApplicationNames(java.util.Map context, Callback_Admin_getAllApplicationNames cb)
    {
        return _iceI_begin_getAllApplicationNames(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getAllApplicationNames(IceInternal.Functional_GenericCallback1 responseCb,
                                                        IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getAllApplicationNames(null, false, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getAllApplicationNames(IceInternal.Functional_GenericCallback1 responseCb,
                                                        IceInternal.Functional_GenericCallback1 exceptionCb,
                                                        IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllApplicationNames(null, false, false, responseCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getAllApplicationNames(java.util.Map context,
                                                        IceInternal.Functional_GenericCallback1 responseCb,
                                                        IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getAllApplicationNames(context, true, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getAllApplicationNames(java.util.Map context,
                                                        IceInternal.Functional_GenericCallback1 responseCb,
                                                        IceInternal.Functional_GenericCallback1 exceptionCb,
                                                        IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllApplicationNames(context, true, false, responseCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getAllApplicationNames(java.util.Map context,
                                                               boolean explicitCtx,
                                                               boolean synchronous,
                                                               IceInternal.Functional_GenericCallback1 responseCb,
                                                               IceInternal.Functional_GenericCallback1 exceptionCb,
                                                               IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllApplicationNames(context,
                                                  explicitCtx,
                                                  synchronous,
                                                  new IceInternal.Functional_TwowayCallbackArg1(responseCb, exceptionCb, sentCb)
                                                      {
                                                          public final void _iceCompleted(Ice.AsyncResult result)
                                                          {
                                                              AdminPrxHelper._iceI_getAllApplicationNames_completed(this, result);
                                                          }
                                                      });
    }

    private Ice.AsyncResult _iceI_begin_getAllApplicationNames(java.util.Map context,
                                                               boolean explicitCtx,
                                                               boolean synchronous,
                                                               IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getAllApplicationNames_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getAllApplicationNames_name, cb);
        try
        {
            result.prepare(_getAllApplicationNames_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            result.writeEmptyParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public String[] end_getAllApplicationNames(Ice.AsyncResult iresult)
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getAllApplicationNames_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_ = Ice.StringSeqHelper.read(istr_);
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getAllApplicationNames_completed(Ice.TwowayCallbackArg1 cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        String[] ret = null;
        try
        {
            ret = _proxy.end_getAllApplicationNames(result);
        }
        catch(Ice.LocalException ex)
        {
            cb.exception(ex);
            return;
        }
        catch(Ice.SystemException ex)
        {
            cb.exception(ex);
            return;
        }
        cb.response(ret);
    }

    private static final String _getServerInfo_name = "getServerInfo";

    public ServerInfo getServerInfo(String id)
        throws ServerNotExistException
    {
        return _iceI_getServerInfo(id, null, false);
    }

    public ServerInfo getServerInfo(String id, java.util.Map context)
        throws ServerNotExistException
    {
        return _iceI_getServerInfo(id, context, true);
    }

    private ServerInfo _iceI_getServerInfo(String iceP_id, java.util.Map context, boolean explicitCtx)
        throws ServerNotExistException
    {
        _checkTwowayOnly(_getServerInfo_name);
        return end_getServerInfo(_iceI_begin_getServerInfo(iceP_id, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getServerInfo(String id)
    {
        return _iceI_begin_getServerInfo(id, null, false, false, null);
    }

    public Ice.AsyncResult begin_getServerInfo(String id, java.util.Map context)
    {
        return _iceI_begin_getServerInfo(id, context, true, false, null);
    }

    public Ice.AsyncResult begin_getServerInfo(String id, Ice.Callback cb)
    {
        return _iceI_begin_getServerInfo(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getServerInfo(String id, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getServerInfo(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getServerInfo(String id, Callback_Admin_getServerInfo cb)
    {
        return _iceI_begin_getServerInfo(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getServerInfo(String id, java.util.Map context, Callback_Admin_getServerInfo cb)
    {
        return _iceI_begin_getServerInfo(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getServerInfo(String id,
                                               IceInternal.Functional_GenericCallback1 responseCb,
                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                               IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getServerInfo(id, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getServerInfo(String id,
                                               IceInternal.Functional_GenericCallback1 responseCb,
                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                               IceInternal.Functional_GenericCallback1 exceptionCb,
                                               IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getServerInfo(id, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getServerInfo(String id,
                                               java.util.Map context,
                                               IceInternal.Functional_GenericCallback1 responseCb,
                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                               IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getServerInfo(id, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getServerInfo(String id,
                                               java.util.Map context,
                                               IceInternal.Functional_GenericCallback1 responseCb,
                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                               IceInternal.Functional_GenericCallback1 exceptionCb,
                                               IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getServerInfo(id, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getServerInfo(String iceP_id,
                                                      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_getServerInfo(iceP_id,
                                         context,
                                         explicitCtx,
                                         synchronous,
                                         new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                             {
                                                 public final void _iceCompleted(Ice.AsyncResult result)
                                                 {
                                                     AdminPrxHelper._iceI_getServerInfo_completed(this, result);
                                                 }
                                             });
    }

    private Ice.AsyncResult _iceI_begin_getServerInfo(String iceP_id,
                                                      java.util.Map context,
                                                      boolean explicitCtx,
                                                      boolean synchronous,
                                                      IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getServerInfo_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getServerInfo_name, cb);
        try
        {
            result.prepare(_getServerInfo_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_id);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public ServerInfo end_getServerInfo(Ice.AsyncResult iresult)
        throws ServerNotExistException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getServerInfo_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(ServerNotExistException ex_)
                {
                    throw ex_;
                }
                catch(Ice.UserException ex_)
                {
                    throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
                }
            }
            Ice.InputStream istr_ = result_.startReadParams();
            ServerInfo ret_ = null;
            ret_ = ServerInfo.ice_read(istr_);
            istr_.readPendingValues();
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getServerInfo_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        ServerInfo ret = null;
        try
        {
            ret = _proxy.end_getServerInfo(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 _getServerState_name = "getServerState";

    public ServerState getServerState(String id)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        return _iceI_getServerState(id, null, false);
    }

    public ServerState getServerState(String id, java.util.Map context)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        return _iceI_getServerState(id, context, true);
    }

    private ServerState _iceI_getServerState(String iceP_id, java.util.Map context, boolean explicitCtx)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        _checkTwowayOnly(_getServerState_name);
        return end_getServerState(_iceI_begin_getServerState(iceP_id, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getServerState(String id)
    {
        return _iceI_begin_getServerState(id, null, false, false, null);
    }

    public Ice.AsyncResult begin_getServerState(String id, java.util.Map context)
    {
        return _iceI_begin_getServerState(id, context, true, false, null);
    }

    public Ice.AsyncResult begin_getServerState(String id, Ice.Callback cb)
    {
        return _iceI_begin_getServerState(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getServerState(String id, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getServerState(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getServerState(String id, Callback_Admin_getServerState cb)
    {
        return _iceI_begin_getServerState(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getServerState(String id, java.util.Map context, Callback_Admin_getServerState cb)
    {
        return _iceI_begin_getServerState(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getServerState(String id,
                                                IceInternal.Functional_GenericCallback1 responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getServerState(id, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getServerState(String id,
                                                IceInternal.Functional_GenericCallback1 responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb,
                                                IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getServerState(id, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getServerState(String id,
                                                java.util.Map context,
                                                IceInternal.Functional_GenericCallback1 responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getServerState(id, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getServerState(String id,
                                                java.util.Map context,
                                                IceInternal.Functional_GenericCallback1 responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb,
                                                IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getServerState(id, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getServerState(String iceP_id,
                                                       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_getServerState(iceP_id,
                                          context,
                                          explicitCtx,
                                          synchronous,
                                          new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                              {
                                                  public final void _iceCompleted(Ice.AsyncResult result)
                                                  {
                                                      AdminPrxHelper._iceI_getServerState_completed(this, result);
                                                  }
                                              });
    }

    private Ice.AsyncResult _iceI_begin_getServerState(String iceP_id,
                                                       java.util.Map context,
                                                       boolean explicitCtx,
                                                       boolean synchronous,
                                                       IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getServerState_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getServerState_name, cb);
        try
        {
            result.prepare(_getServerState_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_id);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public ServerState end_getServerState(Ice.AsyncResult iresult)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getServerState_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(DeploymentException 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();
            ServerState ret_;
            ret_ = ServerState.ice_read(istr_);
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getServerState_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        ServerState ret = null;
        try
        {
            ret = _proxy.end_getServerState(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 _getServerPid_name = "getServerPid";

    public int getServerPid(String id)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        return _iceI_getServerPid(id, null, false);
    }

    public int getServerPid(String id, java.util.Map context)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        return _iceI_getServerPid(id, context, true);
    }

    private int _iceI_getServerPid(String iceP_id, java.util.Map context, boolean explicitCtx)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        _checkTwowayOnly(_getServerPid_name);
        return end_getServerPid(_iceI_begin_getServerPid(iceP_id, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getServerPid(String id)
    {
        return _iceI_begin_getServerPid(id, null, false, false, null);
    }

    public Ice.AsyncResult begin_getServerPid(String id, java.util.Map context)
    {
        return _iceI_begin_getServerPid(id, context, true, false, null);
    }

    public Ice.AsyncResult begin_getServerPid(String id, Ice.Callback cb)
    {
        return _iceI_begin_getServerPid(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getServerPid(String id, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getServerPid(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getServerPid(String id, Callback_Admin_getServerPid cb)
    {
        return _iceI_begin_getServerPid(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getServerPid(String id, java.util.Map context, Callback_Admin_getServerPid cb)
    {
        return _iceI_begin_getServerPid(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getServerPid(String id,
                                              IceInternal.Functional_IntCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getServerPid(id, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getServerPid(String id,
                                              IceInternal.Functional_IntCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb,
                                              IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getServerPid(id, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getServerPid(String id,
                                              java.util.Map context,
                                              IceInternal.Functional_IntCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getServerPid(id, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getServerPid(String id,
                                              java.util.Map context,
                                              IceInternal.Functional_IntCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb,
                                              IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getServerPid(id, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getServerPid(String iceP_id,
                                                     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_getServerPid(iceP_id,
                                        context,
                                        explicitCtx,
                                        synchronous,
                                        new IceInternal.Functional_TwowayCallbackIntUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                            {
                                                public final void _iceCompleted(Ice.AsyncResult result)
                                                {
                                                    AdminPrxHelper._iceI_getServerPid_completed(this, result);
                                                }
                                            });
    }

    private Ice.AsyncResult _iceI_begin_getServerPid(String iceP_id,
                                                     java.util.Map context,
                                                     boolean explicitCtx,
                                                     boolean synchronous,
                                                     IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getServerPid_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getServerPid_name, cb);
        try
        {
            result.prepare(_getServerPid_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_id);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public int end_getServerPid(Ice.AsyncResult iresult)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getServerPid_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(DeploymentException 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();
            int ret_;
            ret_ = istr_.readInt();
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getServerPid_completed(Ice.TwowayCallbackIntUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        int ret = 0;
        try
        {
            ret = _proxy.end_getServerPid(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 _getServerAdminCategory_name = "getServerAdminCategory";

    public String getServerAdminCategory()
    {
        return _iceI_getServerAdminCategory(null, false);
    }

    public String getServerAdminCategory(java.util.Map context)
    {
        return _iceI_getServerAdminCategory(context, true);
    }

    private String _iceI_getServerAdminCategory(java.util.Map context, boolean explicitCtx)
    {
        _checkTwowayOnly(_getServerAdminCategory_name);
        return end_getServerAdminCategory(_iceI_begin_getServerAdminCategory(context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getServerAdminCategory()
    {
        return _iceI_begin_getServerAdminCategory(null, false, false, null);
    }

    public Ice.AsyncResult begin_getServerAdminCategory(java.util.Map context)
    {
        return _iceI_begin_getServerAdminCategory(context, true, false, null);
    }

    public Ice.AsyncResult begin_getServerAdminCategory(Ice.Callback cb)
    {
        return _iceI_begin_getServerAdminCategory(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getServerAdminCategory(java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getServerAdminCategory(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getServerAdminCategory(Callback_Admin_getServerAdminCategory cb)
    {
        return _iceI_begin_getServerAdminCategory(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getServerAdminCategory(java.util.Map context, Callback_Admin_getServerAdminCategory cb)
    {
        return _iceI_begin_getServerAdminCategory(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getServerAdminCategory(IceInternal.Functional_GenericCallback1 responseCb,
                                                        IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getServerAdminCategory(null, false, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getServerAdminCategory(IceInternal.Functional_GenericCallback1 responseCb,
                                                        IceInternal.Functional_GenericCallback1 exceptionCb,
                                                        IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getServerAdminCategory(null, false, false, responseCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getServerAdminCategory(java.util.Map context,
                                                        IceInternal.Functional_GenericCallback1 responseCb,
                                                        IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getServerAdminCategory(context, true, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getServerAdminCategory(java.util.Map context,
                                                        IceInternal.Functional_GenericCallback1 responseCb,
                                                        IceInternal.Functional_GenericCallback1 exceptionCb,
                                                        IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getServerAdminCategory(context, true, false, responseCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getServerAdminCategory(java.util.Map context,
                                                               boolean explicitCtx,
                                                               boolean synchronous,
                                                               IceInternal.Functional_GenericCallback1 responseCb,
                                                               IceInternal.Functional_GenericCallback1 exceptionCb,
                                                               IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getServerAdminCategory(context,
                                                  explicitCtx,
                                                  synchronous,
                                                  new IceInternal.Functional_TwowayCallbackArg1(responseCb, exceptionCb, sentCb)
                                                      {
                                                          public final void _iceCompleted(Ice.AsyncResult result)
                                                          {
                                                              AdminPrxHelper._iceI_getServerAdminCategory_completed(this, result);
                                                          }
                                                      });
    }

    private Ice.AsyncResult _iceI_begin_getServerAdminCategory(java.util.Map context,
                                                               boolean explicitCtx,
                                                               boolean synchronous,
                                                               IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getServerAdminCategory_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getServerAdminCategory_name, cb);
        try
        {
            result.prepare(_getServerAdminCategory_name, Ice.OperationMode.Idempotent, context, explicitCtx, synchronous);
            result.writeEmptyParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public String end_getServerAdminCategory(Ice.AsyncResult iresult)
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getServerAdminCategory_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_getServerAdminCategory_completed(Ice.TwowayCallbackArg1 cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        String ret = null;
        try
        {
            ret = _proxy.end_getServerAdminCategory(result);
        }
        catch(Ice.LocalException ex)
        {
            cb.exception(ex);
            return;
        }
        catch(Ice.SystemException ex)
        {
            cb.exception(ex);
            return;
        }
        cb.response(ret);
    }

    private static final String _getServerAdmin_name = "getServerAdmin";

    public Ice.ObjectPrx getServerAdmin(String id)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        return _iceI_getServerAdmin(id, null, false);
    }

    public Ice.ObjectPrx getServerAdmin(String id, java.util.Map context)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        return _iceI_getServerAdmin(id, context, true);
    }

    private Ice.ObjectPrx _iceI_getServerAdmin(String iceP_id, java.util.Map context, boolean explicitCtx)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        _checkTwowayOnly(_getServerAdmin_name);
        return end_getServerAdmin(_iceI_begin_getServerAdmin(iceP_id, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getServerAdmin(String id)
    {
        return _iceI_begin_getServerAdmin(id, null, false, false, null);
    }

    public Ice.AsyncResult begin_getServerAdmin(String id, java.util.Map context)
    {
        return _iceI_begin_getServerAdmin(id, context, true, false, null);
    }

    public Ice.AsyncResult begin_getServerAdmin(String id, Ice.Callback cb)
    {
        return _iceI_begin_getServerAdmin(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getServerAdmin(String id, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getServerAdmin(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getServerAdmin(String id, Callback_Admin_getServerAdmin cb)
    {
        return _iceI_begin_getServerAdmin(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getServerAdmin(String id, java.util.Map context, Callback_Admin_getServerAdmin cb)
    {
        return _iceI_begin_getServerAdmin(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getServerAdmin(String id,
                                                IceInternal.Functional_GenericCallback1 responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getServerAdmin(id, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getServerAdmin(String id,
                                                IceInternal.Functional_GenericCallback1 responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb,
                                                IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getServerAdmin(id, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getServerAdmin(String id,
                                                java.util.Map context,
                                                IceInternal.Functional_GenericCallback1 responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getServerAdmin(id, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getServerAdmin(String id,
                                                java.util.Map context,
                                                IceInternal.Functional_GenericCallback1 responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb,
                                                IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getServerAdmin(id, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getServerAdmin(String iceP_id,
                                                       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_getServerAdmin(iceP_id,
                                          context,
                                          explicitCtx,
                                          synchronous,
                                          new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                              {
                                                  public final void _iceCompleted(Ice.AsyncResult result)
                                                  {
                                                      AdminPrxHelper._iceI_getServerAdmin_completed(this, result);
                                                  }
                                              });
    }

    private Ice.AsyncResult _iceI_begin_getServerAdmin(String iceP_id,
                                                       java.util.Map context,
                                                       boolean explicitCtx,
                                                       boolean synchronous,
                                                       IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getServerAdmin_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getServerAdmin_name, cb);
        try
        {
            result.prepare(_getServerAdmin_name, Ice.OperationMode.Idempotent, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_id);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public Ice.ObjectPrx end_getServerAdmin(Ice.AsyncResult iresult)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getServerAdmin_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(DeploymentException 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();
            Ice.ObjectPrx ret_;
            ret_ = istr_.readProxy();
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getServerAdmin_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        Ice.ObjectPrx ret = null;
        try
        {
            ret = _proxy.end_getServerAdmin(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 _enableServer_name = "enableServer";

    public void enableServer(String id, boolean enabled)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        _iceI_enableServer(id, enabled, null, false);
    }

    public void enableServer(String id, boolean enabled, java.util.Map context)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        _iceI_enableServer(id, enabled, context, true);
    }

    private void _iceI_enableServer(String iceP_id, boolean iceP_enabled, java.util.Map context, boolean explicitCtx)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        _checkTwowayOnly(_enableServer_name);
        end_enableServer(_iceI_begin_enableServer(iceP_id, iceP_enabled, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_enableServer(String id, boolean enabled)
    {
        return _iceI_begin_enableServer(id, enabled, null, false, false, null);
    }

    public Ice.AsyncResult begin_enableServer(String id, boolean enabled, java.util.Map context)
    {
        return _iceI_begin_enableServer(id, enabled, context, true, false, null);
    }

    public Ice.AsyncResult begin_enableServer(String id, boolean enabled, Ice.Callback cb)
    {
        return _iceI_begin_enableServer(id, enabled, null, false, false, cb);
    }

    public Ice.AsyncResult begin_enableServer(String id, boolean enabled, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_enableServer(id, enabled, context, true, false, cb);
    }

    public Ice.AsyncResult begin_enableServer(String id, boolean enabled, Callback_Admin_enableServer cb)
    {
        return _iceI_begin_enableServer(id, enabled, null, false, false, cb);
    }

    public Ice.AsyncResult begin_enableServer(String id, boolean enabled, java.util.Map context, Callback_Admin_enableServer cb)
    {
        return _iceI_begin_enableServer(id, enabled, context, true, false, cb);
    }

    public Ice.AsyncResult begin_enableServer(String id,
                                              boolean enabled,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_enableServer(id, enabled, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_enableServer(String id,
                                              boolean enabled,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb,
                                              IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_enableServer(id, enabled, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_enableServer(String id,
                                              boolean enabled,
                                              java.util.Map context,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_enableServer(id, enabled, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_enableServer(String id,
                                              boolean enabled,
                                              java.util.Map context,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb,
                                              IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_enableServer(id, enabled, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_enableServer(String iceP_id,
                                                     boolean iceP_enabled,
                                                     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_enableServer(iceP_id,
                                        iceP_enabled,
                                        context,
                                        explicitCtx,
                                        synchronous,
                                        new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                            {
                                                public final void _iceCompleted(Ice.AsyncResult result)
                                                {
                                                    AdminPrxHelper._iceI_enableServer_completed(this, result);
                                                }
                                            });
    }

    private Ice.AsyncResult _iceI_begin_enableServer(String iceP_id,
                                                     boolean iceP_enabled,
                                                     java.util.Map context,
                                                     boolean explicitCtx,
                                                     boolean synchronous,
                                                     IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_enableServer_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_enableServer_name, cb);
        try
        {
            result.prepare(_enableServer_name, Ice.OperationMode.Idempotent, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_id);
            ostr.writeBool(iceP_enabled);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_enableServer(Ice.AsyncResult iresult)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _enableServer_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(DeploymentException 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_);
                }
            }
            result_.readEmptyParams();
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_enableServer_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_enableServer(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 _isServerEnabled_name = "isServerEnabled";

    public boolean isServerEnabled(String id)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        return _iceI_isServerEnabled(id, null, false);
    }

    public boolean isServerEnabled(String id, java.util.Map context)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        return _iceI_isServerEnabled(id, context, true);
    }

    private boolean _iceI_isServerEnabled(String iceP_id, java.util.Map context, boolean explicitCtx)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        _checkTwowayOnly(_isServerEnabled_name);
        return end_isServerEnabled(_iceI_begin_isServerEnabled(iceP_id, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_isServerEnabled(String id)
    {
        return _iceI_begin_isServerEnabled(id, null, false, false, null);
    }

    public Ice.AsyncResult begin_isServerEnabled(String id, java.util.Map context)
    {
        return _iceI_begin_isServerEnabled(id, context, true, false, null);
    }

    public Ice.AsyncResult begin_isServerEnabled(String id, Ice.Callback cb)
    {
        return _iceI_begin_isServerEnabled(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_isServerEnabled(String id, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_isServerEnabled(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_isServerEnabled(String id, Callback_Admin_isServerEnabled cb)
    {
        return _iceI_begin_isServerEnabled(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_isServerEnabled(String id, java.util.Map context, Callback_Admin_isServerEnabled cb)
    {
        return _iceI_begin_isServerEnabled(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_isServerEnabled(String id,
                                                 IceInternal.Functional_BoolCallback responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_isServerEnabled(id, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_isServerEnabled(String id,
                                                 IceInternal.Functional_BoolCallback responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_isServerEnabled(id, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_isServerEnabled(String id,
                                                 java.util.Map context,
                                                 IceInternal.Functional_BoolCallback responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_isServerEnabled(id, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_isServerEnabled(String id,
                                                 java.util.Map context,
                                                 IceInternal.Functional_BoolCallback responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_isServerEnabled(id, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_isServerEnabled(String iceP_id,
                                                        java.util.Map context,
                                                        boolean explicitCtx,
                                                        boolean synchronous,
                                                        IceInternal.Functional_BoolCallback responseCb,
                                                        IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                        IceInternal.Functional_GenericCallback1 exceptionCb,
                                                        IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_isServerEnabled(iceP_id,
                                           context,
                                           explicitCtx,
                                           synchronous,
                                           new IceInternal.Functional_TwowayCallbackBoolUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                               {
                                                   public final void _iceCompleted(Ice.AsyncResult result)
                                                   {
                                                       AdminPrxHelper._iceI_isServerEnabled_completed(this, result);
                                                   }
                                               });
    }

    private Ice.AsyncResult _iceI_begin_isServerEnabled(String iceP_id,
                                                        java.util.Map context,
                                                        boolean explicitCtx,
                                                        boolean synchronous,
                                                        IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_isServerEnabled_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_isServerEnabled_name, cb);
        try
        {
            result.prepare(_isServerEnabled_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_id);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public boolean end_isServerEnabled(Ice.AsyncResult iresult)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _isServerEnabled_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(DeploymentException 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();
            boolean ret_;
            ret_ = istr_.readBool();
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_isServerEnabled_completed(Ice.TwowayCallbackBoolUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        boolean ret = false;
        try
        {
            ret = _proxy.end_isServerEnabled(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 _startServer_name = "startServer";

    public void startServer(String id)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException,
               ServerStartException
    {
        _iceI_startServer(id, null, false);
    }

    public void startServer(String id, java.util.Map context)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException,
               ServerStartException
    {
        _iceI_startServer(id, context, true);
    }

    private void _iceI_startServer(String iceP_id, java.util.Map context, boolean explicitCtx)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException,
               ServerStartException
    {
        _checkTwowayOnly(_startServer_name);
        end_startServer(_iceI_begin_startServer(iceP_id, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_startServer(String id)
    {
        return _iceI_begin_startServer(id, null, false, false, null);
    }

    public Ice.AsyncResult begin_startServer(String id, java.util.Map context)
    {
        return _iceI_begin_startServer(id, context, true, false, null);
    }

    public Ice.AsyncResult begin_startServer(String id, Ice.Callback cb)
    {
        return _iceI_begin_startServer(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_startServer(String id, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_startServer(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_startServer(String id, Callback_Admin_startServer cb)
    {
        return _iceI_begin_startServer(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_startServer(String id, java.util.Map context, Callback_Admin_startServer cb)
    {
        return _iceI_begin_startServer(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_startServer(String id,
                                             IceInternal.Functional_VoidCallback responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_startServer(id, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_startServer(String id,
                                             IceInternal.Functional_VoidCallback responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb,
                                             IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_startServer(id, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_startServer(String id,
                                             java.util.Map context,
                                             IceInternal.Functional_VoidCallback responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_startServer(id, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_startServer(String id,
                                             java.util.Map context,
                                             IceInternal.Functional_VoidCallback responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb,
                                             IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_startServer(id, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_startServer(String iceP_id,
                                                    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_startServer(iceP_id,
                                       context,
                                       explicitCtx,
                                       synchronous,
                                       new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                           {
                                               public final void _iceCompleted(Ice.AsyncResult result)
                                               {
                                                   AdminPrxHelper._iceI_startServer_completed(this, result);
                                               }
                                           });
    }

    private Ice.AsyncResult _iceI_begin_startServer(String iceP_id,
                                                    java.util.Map context,
                                                    boolean explicitCtx,
                                                    boolean synchronous,
                                                    IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_startServer_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_startServer_name, cb);
        try
        {
            result.prepare(_startServer_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_id);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_startServer(Ice.AsyncResult iresult)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException,
               ServerStartException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _startServer_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(DeploymentException ex_)
                {
                    throw ex_;
                }
                catch(NodeUnreachableException ex_)
                {
                    throw ex_;
                }
                catch(ServerNotExistException ex_)
                {
                    throw ex_;
                }
                catch(ServerStartException 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_startServer_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_startServer(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 _stopServer_name = "stopServer";

    public void stopServer(String id)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException,
               ServerStopException
    {
        _iceI_stopServer(id, null, false);
    }

    public void stopServer(String id, java.util.Map context)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException,
               ServerStopException
    {
        _iceI_stopServer(id, context, true);
    }

    private void _iceI_stopServer(String iceP_id, java.util.Map context, boolean explicitCtx)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException,
               ServerStopException
    {
        _checkTwowayOnly(_stopServer_name);
        end_stopServer(_iceI_begin_stopServer(iceP_id, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_stopServer(String id)
    {
        return _iceI_begin_stopServer(id, null, false, false, null);
    }

    public Ice.AsyncResult begin_stopServer(String id, java.util.Map context)
    {
        return _iceI_begin_stopServer(id, context, true, false, null);
    }

    public Ice.AsyncResult begin_stopServer(String id, Ice.Callback cb)
    {
        return _iceI_begin_stopServer(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_stopServer(String id, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_stopServer(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_stopServer(String id, Callback_Admin_stopServer cb)
    {
        return _iceI_begin_stopServer(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_stopServer(String id, java.util.Map context, Callback_Admin_stopServer cb)
    {
        return _iceI_begin_stopServer(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_stopServer(String id,
                                            IceInternal.Functional_VoidCallback responseCb,
                                            IceInternal.Functional_GenericCallback1 userExceptionCb,
                                            IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_stopServer(id, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_stopServer(String id,
                                            IceInternal.Functional_VoidCallback responseCb,
                                            IceInternal.Functional_GenericCallback1 userExceptionCb,
                                            IceInternal.Functional_GenericCallback1 exceptionCb,
                                            IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_stopServer(id, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_stopServer(String id,
                                            java.util.Map context,
                                            IceInternal.Functional_VoidCallback responseCb,
                                            IceInternal.Functional_GenericCallback1 userExceptionCb,
                                            IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_stopServer(id, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_stopServer(String id,
                                            java.util.Map context,
                                            IceInternal.Functional_VoidCallback responseCb,
                                            IceInternal.Functional_GenericCallback1 userExceptionCb,
                                            IceInternal.Functional_GenericCallback1 exceptionCb,
                                            IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_stopServer(id, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_stopServer(String iceP_id,
                                                   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_stopServer(iceP_id,
                                      context,
                                      explicitCtx,
                                      synchronous,
                                      new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                          {
                                              public final void _iceCompleted(Ice.AsyncResult result)
                                              {
                                                  AdminPrxHelper._iceI_stopServer_completed(this, result);
                                              }
                                          });
    }

    private Ice.AsyncResult _iceI_begin_stopServer(String iceP_id,
                                                   java.util.Map context,
                                                   boolean explicitCtx,
                                                   boolean synchronous,
                                                   IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_stopServer_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_stopServer_name, cb);
        try
        {
            result.prepare(_stopServer_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_id);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_stopServer(Ice.AsyncResult iresult)
        throws DeploymentException,
               NodeUnreachableException,
               ServerNotExistException,
               ServerStopException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _stopServer_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(DeploymentException ex_)
                {
                    throw ex_;
                }
                catch(NodeUnreachableException ex_)
                {
                    throw ex_;
                }
                catch(ServerNotExistException ex_)
                {
                    throw ex_;
                }
                catch(ServerStopException 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_stopServer_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_stopServer(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 _patchServer_name = "patchServer";

    public void patchServer(String id, boolean shutdown)
        throws DeploymentException,
               NodeUnreachableException,
               PatchException,
               ServerNotExistException
    {
        _iceI_patchServer(id, shutdown, null, false);
    }

    public void patchServer(String id, boolean shutdown, java.util.Map context)
        throws DeploymentException,
               NodeUnreachableException,
               PatchException,
               ServerNotExistException
    {
        _iceI_patchServer(id, shutdown, context, true);
    }

    private void _iceI_patchServer(String iceP_id, boolean iceP_shutdown, java.util.Map context, boolean explicitCtx)
        throws DeploymentException,
               NodeUnreachableException,
               PatchException,
               ServerNotExistException
    {
        _checkTwowayOnly(_patchServer_name);
        end_patchServer(_iceI_begin_patchServer(iceP_id, iceP_shutdown, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_patchServer(String id, boolean shutdown)
    {
        return _iceI_begin_patchServer(id, shutdown, null, false, false, null);
    }

    public Ice.AsyncResult begin_patchServer(String id, boolean shutdown, java.util.Map context)
    {
        return _iceI_begin_patchServer(id, shutdown, context, true, false, null);
    }

    public Ice.AsyncResult begin_patchServer(String id, boolean shutdown, Ice.Callback cb)
    {
        return _iceI_begin_patchServer(id, shutdown, null, false, false, cb);
    }

    public Ice.AsyncResult begin_patchServer(String id, boolean shutdown, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_patchServer(id, shutdown, context, true, false, cb);
    }

    public Ice.AsyncResult begin_patchServer(String id, boolean shutdown, Callback_Admin_patchServer cb)
    {
        return _iceI_begin_patchServer(id, shutdown, null, false, false, cb);
    }

    public Ice.AsyncResult begin_patchServer(String id, boolean shutdown, java.util.Map context, Callback_Admin_patchServer cb)
    {
        return _iceI_begin_patchServer(id, shutdown, context, true, false, cb);
    }

    public Ice.AsyncResult begin_patchServer(String id,
                                             boolean shutdown,
                                             IceInternal.Functional_VoidCallback responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_patchServer(id, shutdown, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_patchServer(String id,
                                             boolean shutdown,
                                             IceInternal.Functional_VoidCallback responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb,
                                             IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_patchServer(id, shutdown, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_patchServer(String id,
                                             boolean shutdown,
                                             java.util.Map context,
                                             IceInternal.Functional_VoidCallback responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_patchServer(id, shutdown, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_patchServer(String id,
                                             boolean shutdown,
                                             java.util.Map context,
                                             IceInternal.Functional_VoidCallback responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb,
                                             IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_patchServer(id, shutdown, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_patchServer(String iceP_id,
                                                    boolean iceP_shutdown,
                                                    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_patchServer(iceP_id,
                                       iceP_shutdown,
                                       context,
                                       explicitCtx,
                                       synchronous,
                                       new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                           {
                                               public final void _iceCompleted(Ice.AsyncResult result)
                                               {
                                                   AdminPrxHelper._iceI_patchServer_completed(this, result);
                                               }
                                           });
    }

    private Ice.AsyncResult _iceI_begin_patchServer(String iceP_id,
                                                    boolean iceP_shutdown,
                                                    java.util.Map context,
                                                    boolean explicitCtx,
                                                    boolean synchronous,
                                                    IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_patchServer_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_patchServer_name, cb);
        try
        {
            result.prepare(_patchServer_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_id);
            ostr.writeBool(iceP_shutdown);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_patchServer(Ice.AsyncResult iresult)
        throws DeploymentException,
               NodeUnreachableException,
               PatchException,
               ServerNotExistException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _patchServer_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(DeploymentException ex_)
                {
                    throw ex_;
                }
                catch(NodeUnreachableException ex_)
                {
                    throw ex_;
                }
                catch(PatchException ex_)
                {
                    throw ex_;
                }
                catch(ServerNotExistException 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_patchServer_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_patchServer(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 _sendSignal_name = "sendSignal";

    public void sendSignal(String id, String signal)
        throws BadSignalException,
               DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        _iceI_sendSignal(id, signal, null, false);
    }

    public void sendSignal(String id, String signal, java.util.Map context)
        throws BadSignalException,
               DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        _iceI_sendSignal(id, signal, context, true);
    }

    private void _iceI_sendSignal(String iceP_id, String iceP_signal, java.util.Map context, boolean explicitCtx)
        throws BadSignalException,
               DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        _checkTwowayOnly(_sendSignal_name);
        end_sendSignal(_iceI_begin_sendSignal(iceP_id, iceP_signal, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_sendSignal(String id, String signal)
    {
        return _iceI_begin_sendSignal(id, signal, null, false, false, null);
    }

    public Ice.AsyncResult begin_sendSignal(String id, String signal, java.util.Map context)
    {
        return _iceI_begin_sendSignal(id, signal, context, true, false, null);
    }

    public Ice.AsyncResult begin_sendSignal(String id, String signal, Ice.Callback cb)
    {
        return _iceI_begin_sendSignal(id, signal, null, false, false, cb);
    }

    public Ice.AsyncResult begin_sendSignal(String id, String signal, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_sendSignal(id, signal, context, true, false, cb);
    }

    public Ice.AsyncResult begin_sendSignal(String id, String signal, Callback_Admin_sendSignal cb)
    {
        return _iceI_begin_sendSignal(id, signal, null, false, false, cb);
    }

    public Ice.AsyncResult begin_sendSignal(String id, String signal, java.util.Map context, Callback_Admin_sendSignal cb)
    {
        return _iceI_begin_sendSignal(id, signal, context, true, false, cb);
    }

    public Ice.AsyncResult begin_sendSignal(String id,
                                            String signal,
                                            IceInternal.Functional_VoidCallback responseCb,
                                            IceInternal.Functional_GenericCallback1 userExceptionCb,
                                            IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_sendSignal(id, signal, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_sendSignal(String id,
                                            String signal,
                                            IceInternal.Functional_VoidCallback responseCb,
                                            IceInternal.Functional_GenericCallback1 userExceptionCb,
                                            IceInternal.Functional_GenericCallback1 exceptionCb,
                                            IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_sendSignal(id, signal, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_sendSignal(String id,
                                            String signal,
                                            java.util.Map context,
                                            IceInternal.Functional_VoidCallback responseCb,
                                            IceInternal.Functional_GenericCallback1 userExceptionCb,
                                            IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_sendSignal(id, signal, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_sendSignal(String id,
                                            String signal,
                                            java.util.Map context,
                                            IceInternal.Functional_VoidCallback responseCb,
                                            IceInternal.Functional_GenericCallback1 userExceptionCb,
                                            IceInternal.Functional_GenericCallback1 exceptionCb,
                                            IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_sendSignal(id, signal, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_sendSignal(String iceP_id,
                                                   String iceP_signal,
                                                   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_sendSignal(iceP_id,
                                      iceP_signal,
                                      context,
                                      explicitCtx,
                                      synchronous,
                                      new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                          {
                                              public final void _iceCompleted(Ice.AsyncResult result)
                                              {
                                                  AdminPrxHelper._iceI_sendSignal_completed(this, result);
                                              }
                                          });
    }

    private Ice.AsyncResult _iceI_begin_sendSignal(String iceP_id,
                                                   String iceP_signal,
                                                   java.util.Map context,
                                                   boolean explicitCtx,
                                                   boolean synchronous,
                                                   IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_sendSignal_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_sendSignal_name, cb);
        try
        {
            result.prepare(_sendSignal_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_id);
            ostr.writeString(iceP_signal);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_sendSignal(Ice.AsyncResult iresult)
        throws BadSignalException,
               DeploymentException,
               NodeUnreachableException,
               ServerNotExistException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _sendSignal_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(BadSignalException ex_)
                {
                    throw ex_;
                }
                catch(DeploymentException 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_);
                }
            }
            result_.readEmptyParams();
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_sendSignal_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_sendSignal(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 _getAllServerIds_name = "getAllServerIds";

    public String[] getAllServerIds()
    {
        return _iceI_getAllServerIds(null, false);
    }

    public String[] getAllServerIds(java.util.Map context)
    {
        return _iceI_getAllServerIds(context, true);
    }

    private String[] _iceI_getAllServerIds(java.util.Map context, boolean explicitCtx)
    {
        _checkTwowayOnly(_getAllServerIds_name);
        return end_getAllServerIds(_iceI_begin_getAllServerIds(context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getAllServerIds()
    {
        return _iceI_begin_getAllServerIds(null, false, false, null);
    }

    public Ice.AsyncResult begin_getAllServerIds(java.util.Map context)
    {
        return _iceI_begin_getAllServerIds(context, true, false, null);
    }

    public Ice.AsyncResult begin_getAllServerIds(Ice.Callback cb)
    {
        return _iceI_begin_getAllServerIds(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getAllServerIds(java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getAllServerIds(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getAllServerIds(Callback_Admin_getAllServerIds cb)
    {
        return _iceI_begin_getAllServerIds(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getAllServerIds(java.util.Map context, Callback_Admin_getAllServerIds cb)
    {
        return _iceI_begin_getAllServerIds(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getAllServerIds(IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getAllServerIds(null, false, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getAllServerIds(IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllServerIds(null, false, false, responseCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getAllServerIds(java.util.Map context,
                                                 IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getAllServerIds(context, true, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getAllServerIds(java.util.Map context,
                                                 IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllServerIds(context, true, false, responseCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getAllServerIds(java.util.Map context,
                                                        boolean explicitCtx,
                                                        boolean synchronous,
                                                        IceInternal.Functional_GenericCallback1 responseCb,
                                                        IceInternal.Functional_GenericCallback1 exceptionCb,
                                                        IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllServerIds(context,
                                           explicitCtx,
                                           synchronous,
                                           new IceInternal.Functional_TwowayCallbackArg1(responseCb, exceptionCb, sentCb)
                                               {
                                                   public final void _iceCompleted(Ice.AsyncResult result)
                                                   {
                                                       AdminPrxHelper._iceI_getAllServerIds_completed(this, result);
                                                   }
                                               });
    }

    private Ice.AsyncResult _iceI_begin_getAllServerIds(java.util.Map context,
                                                        boolean explicitCtx,
                                                        boolean synchronous,
                                                        IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getAllServerIds_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getAllServerIds_name, cb);
        try
        {
            result.prepare(_getAllServerIds_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            result.writeEmptyParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public String[] end_getAllServerIds(Ice.AsyncResult iresult)
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getAllServerIds_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_ = Ice.StringSeqHelper.read(istr_);
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getAllServerIds_completed(Ice.TwowayCallbackArg1 cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        String[] ret = null;
        try
        {
            ret = _proxy.end_getAllServerIds(result);
        }
        catch(Ice.LocalException ex)
        {
            cb.exception(ex);
            return;
        }
        catch(Ice.SystemException ex)
        {
            cb.exception(ex);
            return;
        }
        cb.response(ret);
    }

    private static final String _getAdapterInfo_name = "getAdapterInfo";

    public AdapterInfo[] getAdapterInfo(String id)
        throws AdapterNotExistException
    {
        return _iceI_getAdapterInfo(id, null, false);
    }

    public AdapterInfo[] getAdapterInfo(String id, java.util.Map context)
        throws AdapterNotExistException
    {
        return _iceI_getAdapterInfo(id, context, true);
    }

    private AdapterInfo[] _iceI_getAdapterInfo(String iceP_id, java.util.Map context, boolean explicitCtx)
        throws AdapterNotExistException
    {
        _checkTwowayOnly(_getAdapterInfo_name);
        return end_getAdapterInfo(_iceI_begin_getAdapterInfo(iceP_id, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getAdapterInfo(String id)
    {
        return _iceI_begin_getAdapterInfo(id, null, false, false, null);
    }

    public Ice.AsyncResult begin_getAdapterInfo(String id, java.util.Map context)
    {
        return _iceI_begin_getAdapterInfo(id, context, true, false, null);
    }

    public Ice.AsyncResult begin_getAdapterInfo(String id, Ice.Callback cb)
    {
        return _iceI_begin_getAdapterInfo(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getAdapterInfo(String id, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getAdapterInfo(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getAdapterInfo(String id, Callback_Admin_getAdapterInfo cb)
    {
        return _iceI_begin_getAdapterInfo(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getAdapterInfo(String id, java.util.Map context, Callback_Admin_getAdapterInfo cb)
    {
        return _iceI_begin_getAdapterInfo(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getAdapterInfo(String id,
                                                IceInternal.Functional_GenericCallback1 responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getAdapterInfo(id, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getAdapterInfo(String id,
                                                IceInternal.Functional_GenericCallback1 responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb,
                                                IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAdapterInfo(id, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getAdapterInfo(String id,
                                                java.util.Map context,
                                                IceInternal.Functional_GenericCallback1 responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getAdapterInfo(id, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getAdapterInfo(String id,
                                                java.util.Map context,
                                                IceInternal.Functional_GenericCallback1 responseCb,
                                                IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                IceInternal.Functional_GenericCallback1 exceptionCb,
                                                IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAdapterInfo(id, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getAdapterInfo(String iceP_id,
                                                       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_getAdapterInfo(iceP_id,
                                          context,
                                          explicitCtx,
                                          synchronous,
                                          new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                              {
                                                  public final void _iceCompleted(Ice.AsyncResult result)
                                                  {
                                                      AdminPrxHelper._iceI_getAdapterInfo_completed(this, result);
                                                  }
                                              });
    }

    private Ice.AsyncResult _iceI_begin_getAdapterInfo(String iceP_id,
                                                       java.util.Map context,
                                                       boolean explicitCtx,
                                                       boolean synchronous,
                                                       IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getAdapterInfo_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getAdapterInfo_name, cb);
        try
        {
            result.prepare(_getAdapterInfo_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_id);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public AdapterInfo[] end_getAdapterInfo(Ice.AsyncResult iresult)
        throws AdapterNotExistException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getAdapterInfo_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(AdapterNotExistException ex_)
                {
                    throw ex_;
                }
                catch(Ice.UserException ex_)
                {
                    throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
                }
            }
            Ice.InputStream istr_ = result_.startReadParams();
            AdapterInfo[] ret_;
            ret_ = AdapterInfoSeqHelper.read(istr_);
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getAdapterInfo_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        AdapterInfo[] ret = null;
        try
        {
            ret = _proxy.end_getAdapterInfo(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 _removeAdapter_name = "removeAdapter";

    public void removeAdapter(String id)
        throws AdapterNotExistException,
               DeploymentException
    {
        _iceI_removeAdapter(id, null, false);
    }

    public void removeAdapter(String id, java.util.Map context)
        throws AdapterNotExistException,
               DeploymentException
    {
        _iceI_removeAdapter(id, context, true);
    }

    private void _iceI_removeAdapter(String iceP_id, java.util.Map context, boolean explicitCtx)
        throws AdapterNotExistException,
               DeploymentException
    {
        _checkTwowayOnly(_removeAdapter_name);
        end_removeAdapter(_iceI_begin_removeAdapter(iceP_id, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_removeAdapter(String id)
    {
        return _iceI_begin_removeAdapter(id, null, false, false, null);
    }

    public Ice.AsyncResult begin_removeAdapter(String id, java.util.Map context)
    {
        return _iceI_begin_removeAdapter(id, context, true, false, null);
    }

    public Ice.AsyncResult begin_removeAdapter(String id, Ice.Callback cb)
    {
        return _iceI_begin_removeAdapter(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_removeAdapter(String id, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_removeAdapter(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_removeAdapter(String id, Callback_Admin_removeAdapter cb)
    {
        return _iceI_begin_removeAdapter(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_removeAdapter(String id, java.util.Map context, Callback_Admin_removeAdapter cb)
    {
        return _iceI_begin_removeAdapter(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_removeAdapter(String id,
                                               IceInternal.Functional_VoidCallback responseCb,
                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                               IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_removeAdapter(id, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_removeAdapter(String id,
                                               IceInternal.Functional_VoidCallback responseCb,
                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                               IceInternal.Functional_GenericCallback1 exceptionCb,
                                               IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_removeAdapter(id, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_removeAdapter(String id,
                                               java.util.Map context,
                                               IceInternal.Functional_VoidCallback responseCb,
                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                               IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_removeAdapter(id, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_removeAdapter(String id,
                                               java.util.Map context,
                                               IceInternal.Functional_VoidCallback responseCb,
                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                               IceInternal.Functional_GenericCallback1 exceptionCb,
                                               IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_removeAdapter(id, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_removeAdapter(String iceP_id,
                                                      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_removeAdapter(iceP_id,
                                         context,
                                         explicitCtx,
                                         synchronous,
                                         new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                             {
                                                 public final void _iceCompleted(Ice.AsyncResult result)
                                                 {
                                                     AdminPrxHelper._iceI_removeAdapter_completed(this, result);
                                                 }
                                             });
    }

    private Ice.AsyncResult _iceI_begin_removeAdapter(String iceP_id,
                                                      java.util.Map context,
                                                      boolean explicitCtx,
                                                      boolean synchronous,
                                                      IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_removeAdapter_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_removeAdapter_name, cb);
        try
        {
            result.prepare(_removeAdapter_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_id);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_removeAdapter(Ice.AsyncResult iresult)
        throws AdapterNotExistException,
               DeploymentException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _removeAdapter_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(AdapterNotExistException ex_)
                {
                    throw ex_;
                }
                catch(DeploymentException 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_removeAdapter_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_removeAdapter(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 _getAllAdapterIds_name = "getAllAdapterIds";

    public String[] getAllAdapterIds()
    {
        return _iceI_getAllAdapterIds(null, false);
    }

    public String[] getAllAdapterIds(java.util.Map context)
    {
        return _iceI_getAllAdapterIds(context, true);
    }

    private String[] _iceI_getAllAdapterIds(java.util.Map context, boolean explicitCtx)
    {
        _checkTwowayOnly(_getAllAdapterIds_name);
        return end_getAllAdapterIds(_iceI_begin_getAllAdapterIds(context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getAllAdapterIds()
    {
        return _iceI_begin_getAllAdapterIds(null, false, false, null);
    }

    public Ice.AsyncResult begin_getAllAdapterIds(java.util.Map context)
    {
        return _iceI_begin_getAllAdapterIds(context, true, false, null);
    }

    public Ice.AsyncResult begin_getAllAdapterIds(Ice.Callback cb)
    {
        return _iceI_begin_getAllAdapterIds(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getAllAdapterIds(java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getAllAdapterIds(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getAllAdapterIds(Callback_Admin_getAllAdapterIds cb)
    {
        return _iceI_begin_getAllAdapterIds(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getAllAdapterIds(java.util.Map context, Callback_Admin_getAllAdapterIds cb)
    {
        return _iceI_begin_getAllAdapterIds(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getAllAdapterIds(IceInternal.Functional_GenericCallback1 responseCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getAllAdapterIds(null, false, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getAllAdapterIds(IceInternal.Functional_GenericCallback1 responseCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb,
                                                  IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllAdapterIds(null, false, false, responseCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getAllAdapterIds(java.util.Map context,
                                                  IceInternal.Functional_GenericCallback1 responseCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getAllAdapterIds(context, true, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getAllAdapterIds(java.util.Map context,
                                                  IceInternal.Functional_GenericCallback1 responseCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb,
                                                  IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllAdapterIds(context, true, false, responseCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getAllAdapterIds(java.util.Map context,
                                                         boolean explicitCtx,
                                                         boolean synchronous,
                                                         IceInternal.Functional_GenericCallback1 responseCb,
                                                         IceInternal.Functional_GenericCallback1 exceptionCb,
                                                         IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllAdapterIds(context,
                                            explicitCtx,
                                            synchronous,
                                            new IceInternal.Functional_TwowayCallbackArg1(responseCb, exceptionCb, sentCb)
                                                {
                                                    public final void _iceCompleted(Ice.AsyncResult result)
                                                    {
                                                        AdminPrxHelper._iceI_getAllAdapterIds_completed(this, result);
                                                    }
                                                });
    }

    private Ice.AsyncResult _iceI_begin_getAllAdapterIds(java.util.Map context,
                                                         boolean explicitCtx,
                                                         boolean synchronous,
                                                         IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getAllAdapterIds_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getAllAdapterIds_name, cb);
        try
        {
            result.prepare(_getAllAdapterIds_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            result.writeEmptyParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public String[] end_getAllAdapterIds(Ice.AsyncResult iresult)
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getAllAdapterIds_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_ = Ice.StringSeqHelper.read(istr_);
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getAllAdapterIds_completed(Ice.TwowayCallbackArg1 cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        String[] ret = null;
        try
        {
            ret = _proxy.end_getAllAdapterIds(result);
        }
        catch(Ice.LocalException ex)
        {
            cb.exception(ex);
            return;
        }
        catch(Ice.SystemException ex)
        {
            cb.exception(ex);
            return;
        }
        cb.response(ret);
    }

    private static final String _addObject_name = "addObject";

    public void addObject(Ice.ObjectPrx obj)
        throws DeploymentException,
               ObjectExistsException
    {
        _iceI_addObject(obj, null, false);
    }

    public void addObject(Ice.ObjectPrx obj, java.util.Map context)
        throws DeploymentException,
               ObjectExistsException
    {
        _iceI_addObject(obj, context, true);
    }

    private void _iceI_addObject(Ice.ObjectPrx iceP_obj, java.util.Map context, boolean explicitCtx)
        throws DeploymentException,
               ObjectExistsException
    {
        _checkTwowayOnly(_addObject_name);
        end_addObject(_iceI_begin_addObject(iceP_obj, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_addObject(Ice.ObjectPrx obj)
    {
        return _iceI_begin_addObject(obj, null, false, false, null);
    }

    public Ice.AsyncResult begin_addObject(Ice.ObjectPrx obj, java.util.Map context)
    {
        return _iceI_begin_addObject(obj, context, true, false, null);
    }

    public Ice.AsyncResult begin_addObject(Ice.ObjectPrx obj, Ice.Callback cb)
    {
        return _iceI_begin_addObject(obj, null, false, false, cb);
    }

    public Ice.AsyncResult begin_addObject(Ice.ObjectPrx obj, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_addObject(obj, context, true, false, cb);
    }

    public Ice.AsyncResult begin_addObject(Ice.ObjectPrx obj, Callback_Admin_addObject cb)
    {
        return _iceI_begin_addObject(obj, null, false, false, cb);
    }

    public Ice.AsyncResult begin_addObject(Ice.ObjectPrx obj, java.util.Map context, Callback_Admin_addObject cb)
    {
        return _iceI_begin_addObject(obj, context, true, false, cb);
    }

    public Ice.AsyncResult begin_addObject(Ice.ObjectPrx obj,
                                           IceInternal.Functional_VoidCallback responseCb,
                                           IceInternal.Functional_GenericCallback1 userExceptionCb,
                                           IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_addObject(obj, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_addObject(Ice.ObjectPrx obj,
                                           IceInternal.Functional_VoidCallback responseCb,
                                           IceInternal.Functional_GenericCallback1 userExceptionCb,
                                           IceInternal.Functional_GenericCallback1 exceptionCb,
                                           IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_addObject(obj, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_addObject(Ice.ObjectPrx obj,
                                           java.util.Map context,
                                           IceInternal.Functional_VoidCallback responseCb,
                                           IceInternal.Functional_GenericCallback1 userExceptionCb,
                                           IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_addObject(obj, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_addObject(Ice.ObjectPrx obj,
                                           java.util.Map context,
                                           IceInternal.Functional_VoidCallback responseCb,
                                           IceInternal.Functional_GenericCallback1 userExceptionCb,
                                           IceInternal.Functional_GenericCallback1 exceptionCb,
                                           IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_addObject(obj, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_addObject(Ice.ObjectPrx iceP_obj,
                                                  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_addObject(iceP_obj,
                                     context,
                                     explicitCtx,
                                     synchronous,
                                     new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                         {
                                             public final void _iceCompleted(Ice.AsyncResult result)
                                             {
                                                 AdminPrxHelper._iceI_addObject_completed(this, result);
                                             }
                                         });
    }

    private Ice.AsyncResult _iceI_begin_addObject(Ice.ObjectPrx iceP_obj,
                                                  java.util.Map context,
                                                  boolean explicitCtx,
                                                  boolean synchronous,
                                                  IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_addObject_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_addObject_name, cb);
        try
        {
            result.prepare(_addObject_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeProxy(iceP_obj);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_addObject(Ice.AsyncResult iresult)
        throws DeploymentException,
               ObjectExistsException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _addObject_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(DeploymentException ex_)
                {
                    throw ex_;
                }
                catch(ObjectExistsException 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_addObject_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_addObject(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 _updateObject_name = "updateObject";

    public void updateObject(Ice.ObjectPrx obj)
        throws DeploymentException,
               ObjectNotRegisteredException
    {
        _iceI_updateObject(obj, null, false);
    }

    public void updateObject(Ice.ObjectPrx obj, java.util.Map context)
        throws DeploymentException,
               ObjectNotRegisteredException
    {
        _iceI_updateObject(obj, context, true);
    }

    private void _iceI_updateObject(Ice.ObjectPrx iceP_obj, java.util.Map context, boolean explicitCtx)
        throws DeploymentException,
               ObjectNotRegisteredException
    {
        _checkTwowayOnly(_updateObject_name);
        end_updateObject(_iceI_begin_updateObject(iceP_obj, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_updateObject(Ice.ObjectPrx obj)
    {
        return _iceI_begin_updateObject(obj, null, false, false, null);
    }

    public Ice.AsyncResult begin_updateObject(Ice.ObjectPrx obj, java.util.Map context)
    {
        return _iceI_begin_updateObject(obj, context, true, false, null);
    }

    public Ice.AsyncResult begin_updateObject(Ice.ObjectPrx obj, Ice.Callback cb)
    {
        return _iceI_begin_updateObject(obj, null, false, false, cb);
    }

    public Ice.AsyncResult begin_updateObject(Ice.ObjectPrx obj, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_updateObject(obj, context, true, false, cb);
    }

    public Ice.AsyncResult begin_updateObject(Ice.ObjectPrx obj, Callback_Admin_updateObject cb)
    {
        return _iceI_begin_updateObject(obj, null, false, false, cb);
    }

    public Ice.AsyncResult begin_updateObject(Ice.ObjectPrx obj, java.util.Map context, Callback_Admin_updateObject cb)
    {
        return _iceI_begin_updateObject(obj, context, true, false, cb);
    }

    public Ice.AsyncResult begin_updateObject(Ice.ObjectPrx obj,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_updateObject(obj, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_updateObject(Ice.ObjectPrx obj,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb,
                                              IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_updateObject(obj, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_updateObject(Ice.ObjectPrx obj,
                                              java.util.Map context,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_updateObject(obj, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_updateObject(Ice.ObjectPrx obj,
                                              java.util.Map context,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb,
                                              IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_updateObject(obj, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_updateObject(Ice.ObjectPrx iceP_obj,
                                                     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_updateObject(iceP_obj,
                                        context,
                                        explicitCtx,
                                        synchronous,
                                        new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                            {
                                                public final void _iceCompleted(Ice.AsyncResult result)
                                                {
                                                    AdminPrxHelper._iceI_updateObject_completed(this, result);
                                                }
                                            });
    }

    private Ice.AsyncResult _iceI_begin_updateObject(Ice.ObjectPrx iceP_obj,
                                                     java.util.Map context,
                                                     boolean explicitCtx,
                                                     boolean synchronous,
                                                     IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_updateObject_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_updateObject_name, cb);
        try
        {
            result.prepare(_updateObject_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeProxy(iceP_obj);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_updateObject(Ice.AsyncResult iresult)
        throws DeploymentException,
               ObjectNotRegisteredException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _updateObject_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(DeploymentException ex_)
                {
                    throw ex_;
                }
                catch(ObjectNotRegisteredException 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_updateObject_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_updateObject(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 _addObjectWithType_name = "addObjectWithType";

    public void addObjectWithType(Ice.ObjectPrx obj, String type)
        throws DeploymentException,
               ObjectExistsException
    {
        _iceI_addObjectWithType(obj, type, null, false);
    }

    public void addObjectWithType(Ice.ObjectPrx obj, String type, java.util.Map context)
        throws DeploymentException,
               ObjectExistsException
    {
        _iceI_addObjectWithType(obj, type, context, true);
    }

    private void _iceI_addObjectWithType(Ice.ObjectPrx iceP_obj, String iceP_type, java.util.Map context, boolean explicitCtx)
        throws DeploymentException,
               ObjectExistsException
    {
        _checkTwowayOnly(_addObjectWithType_name);
        end_addObjectWithType(_iceI_begin_addObjectWithType(iceP_obj, iceP_type, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_addObjectWithType(Ice.ObjectPrx obj, String type)
    {
        return _iceI_begin_addObjectWithType(obj, type, null, false, false, null);
    }

    public Ice.AsyncResult begin_addObjectWithType(Ice.ObjectPrx obj, String type, java.util.Map context)
    {
        return _iceI_begin_addObjectWithType(obj, type, context, true, false, null);
    }

    public Ice.AsyncResult begin_addObjectWithType(Ice.ObjectPrx obj, String type, Ice.Callback cb)
    {
        return _iceI_begin_addObjectWithType(obj, type, null, false, false, cb);
    }

    public Ice.AsyncResult begin_addObjectWithType(Ice.ObjectPrx obj, String type, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_addObjectWithType(obj, type, context, true, false, cb);
    }

    public Ice.AsyncResult begin_addObjectWithType(Ice.ObjectPrx obj, String type, Callback_Admin_addObjectWithType cb)
    {
        return _iceI_begin_addObjectWithType(obj, type, null, false, false, cb);
    }

    public Ice.AsyncResult begin_addObjectWithType(Ice.ObjectPrx obj, String type, java.util.Map context, Callback_Admin_addObjectWithType cb)
    {
        return _iceI_begin_addObjectWithType(obj, type, context, true, false, cb);
    }

    public Ice.AsyncResult begin_addObjectWithType(Ice.ObjectPrx obj,
                                                   String type,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_addObjectWithType(obj, type, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_addObjectWithType(Ice.ObjectPrx obj,
                                                   String type,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb,
                                                   IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_addObjectWithType(obj, type, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_addObjectWithType(Ice.ObjectPrx obj,
                                                   String type,
                                                   java.util.Map context,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_addObjectWithType(obj, type, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_addObjectWithType(Ice.ObjectPrx obj,
                                                   String type,
                                                   java.util.Map context,
                                                   IceInternal.Functional_VoidCallback responseCb,
                                                   IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb,
                                                   IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_addObjectWithType(obj, type, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_addObjectWithType(Ice.ObjectPrx iceP_obj,
                                                          String iceP_type,
                                                          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_addObjectWithType(iceP_obj,
                                             iceP_type,
                                             context,
                                             explicitCtx,
                                             synchronous,
                                             new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                                 {
                                                     public final void _iceCompleted(Ice.AsyncResult result)
                                                     {
                                                         AdminPrxHelper._iceI_addObjectWithType_completed(this, result);
                                                     }
                                                 });
    }

    private Ice.AsyncResult _iceI_begin_addObjectWithType(Ice.ObjectPrx iceP_obj,
                                                          String iceP_type,
                                                          java.util.Map context,
                                                          boolean explicitCtx,
                                                          boolean synchronous,
                                                          IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_addObjectWithType_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_addObjectWithType_name, cb);
        try
        {
            result.prepare(_addObjectWithType_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeProxy(iceP_obj);
            ostr.writeString(iceP_type);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_addObjectWithType(Ice.AsyncResult iresult)
        throws DeploymentException,
               ObjectExistsException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _addObjectWithType_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(DeploymentException ex_)
                {
                    throw ex_;
                }
                catch(ObjectExistsException 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_addObjectWithType_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_addObjectWithType(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 _removeObject_name = "removeObject";

    public void removeObject(Ice.Identity id)
        throws DeploymentException,
               ObjectNotRegisteredException
    {
        _iceI_removeObject(id, null, false);
    }

    public void removeObject(Ice.Identity id, java.util.Map context)
        throws DeploymentException,
               ObjectNotRegisteredException
    {
        _iceI_removeObject(id, context, true);
    }

    private void _iceI_removeObject(Ice.Identity iceP_id, java.util.Map context, boolean explicitCtx)
        throws DeploymentException,
               ObjectNotRegisteredException
    {
        _checkTwowayOnly(_removeObject_name);
        end_removeObject(_iceI_begin_removeObject(iceP_id, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_removeObject(Ice.Identity id)
    {
        return _iceI_begin_removeObject(id, null, false, false, null);
    }

    public Ice.AsyncResult begin_removeObject(Ice.Identity id, java.util.Map context)
    {
        return _iceI_begin_removeObject(id, context, true, false, null);
    }

    public Ice.AsyncResult begin_removeObject(Ice.Identity id, Ice.Callback cb)
    {
        return _iceI_begin_removeObject(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_removeObject(Ice.Identity id, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_removeObject(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_removeObject(Ice.Identity id, Callback_Admin_removeObject cb)
    {
        return _iceI_begin_removeObject(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_removeObject(Ice.Identity id, java.util.Map context, Callback_Admin_removeObject cb)
    {
        return _iceI_begin_removeObject(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_removeObject(Ice.Identity id,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_removeObject(id, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_removeObject(Ice.Identity id,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb,
                                              IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_removeObject(id, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_removeObject(Ice.Identity id,
                                              java.util.Map context,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_removeObject(id, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_removeObject(Ice.Identity id,
                                              java.util.Map context,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb,
                                              IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_removeObject(id, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_removeObject(Ice.Identity iceP_id,
                                                     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_removeObject(iceP_id,
                                        context,
                                        explicitCtx,
                                        synchronous,
                                        new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                            {
                                                public final void _iceCompleted(Ice.AsyncResult result)
                                                {
                                                    AdminPrxHelper._iceI_removeObject_completed(this, result);
                                                }
                                            });
    }

    private Ice.AsyncResult _iceI_begin_removeObject(Ice.Identity iceP_id,
                                                     java.util.Map context,
                                                     boolean explicitCtx,
                                                     boolean synchronous,
                                                     IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_removeObject_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_removeObject_name, cb);
        try
        {
            result.prepare(_removeObject_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            Ice.Identity.ice_write(ostr, iceP_id);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_removeObject(Ice.AsyncResult iresult)
        throws DeploymentException,
               ObjectNotRegisteredException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _removeObject_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(DeploymentException ex_)
                {
                    throw ex_;
                }
                catch(ObjectNotRegisteredException 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_removeObject_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_removeObject(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 _getObjectInfo_name = "getObjectInfo";

    public ObjectInfo getObjectInfo(Ice.Identity id)
        throws ObjectNotRegisteredException
    {
        return _iceI_getObjectInfo(id, null, false);
    }

    public ObjectInfo getObjectInfo(Ice.Identity id, java.util.Map context)
        throws ObjectNotRegisteredException
    {
        return _iceI_getObjectInfo(id, context, true);
    }

    private ObjectInfo _iceI_getObjectInfo(Ice.Identity iceP_id, java.util.Map context, boolean explicitCtx)
        throws ObjectNotRegisteredException
    {
        _checkTwowayOnly(_getObjectInfo_name);
        return end_getObjectInfo(_iceI_begin_getObjectInfo(iceP_id, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getObjectInfo(Ice.Identity id)
    {
        return _iceI_begin_getObjectInfo(id, null, false, false, null);
    }

    public Ice.AsyncResult begin_getObjectInfo(Ice.Identity id, java.util.Map context)
    {
        return _iceI_begin_getObjectInfo(id, context, true, false, null);
    }

    public Ice.AsyncResult begin_getObjectInfo(Ice.Identity id, Ice.Callback cb)
    {
        return _iceI_begin_getObjectInfo(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getObjectInfo(Ice.Identity id, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getObjectInfo(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getObjectInfo(Ice.Identity id, Callback_Admin_getObjectInfo cb)
    {
        return _iceI_begin_getObjectInfo(id, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getObjectInfo(Ice.Identity id, java.util.Map context, Callback_Admin_getObjectInfo cb)
    {
        return _iceI_begin_getObjectInfo(id, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getObjectInfo(Ice.Identity id,
                                               IceInternal.Functional_GenericCallback1 responseCb,
                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                               IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getObjectInfo(id, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getObjectInfo(Ice.Identity id,
                                               IceInternal.Functional_GenericCallback1 responseCb,
                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                               IceInternal.Functional_GenericCallback1 exceptionCb,
                                               IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getObjectInfo(id, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getObjectInfo(Ice.Identity id,
                                               java.util.Map context,
                                               IceInternal.Functional_GenericCallback1 responseCb,
                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                               IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getObjectInfo(id, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getObjectInfo(Ice.Identity id,
                                               java.util.Map context,
                                               IceInternal.Functional_GenericCallback1 responseCb,
                                               IceInternal.Functional_GenericCallback1 userExceptionCb,
                                               IceInternal.Functional_GenericCallback1 exceptionCb,
                                               IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getObjectInfo(id, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getObjectInfo(Ice.Identity iceP_id,
                                                      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_getObjectInfo(iceP_id,
                                         context,
                                         explicitCtx,
                                         synchronous,
                                         new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                             {
                                                 public final void _iceCompleted(Ice.AsyncResult result)
                                                 {
                                                     AdminPrxHelper._iceI_getObjectInfo_completed(this, result);
                                                 }
                                             });
    }

    private Ice.AsyncResult _iceI_begin_getObjectInfo(Ice.Identity iceP_id,
                                                      java.util.Map context,
                                                      boolean explicitCtx,
                                                      boolean synchronous,
                                                      IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getObjectInfo_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getObjectInfo_name, cb);
        try
        {
            result.prepare(_getObjectInfo_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            Ice.Identity.ice_write(ostr, iceP_id);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public ObjectInfo end_getObjectInfo(Ice.AsyncResult iresult)
        throws ObjectNotRegisteredException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getObjectInfo_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(ObjectNotRegisteredException ex_)
                {
                    throw ex_;
                }
                catch(Ice.UserException ex_)
                {
                    throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
                }
            }
            Ice.InputStream istr_ = result_.startReadParams();
            ObjectInfo ret_ = null;
            ret_ = ObjectInfo.ice_read(istr_);
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getObjectInfo_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        ObjectInfo ret = null;
        try
        {
            ret = _proxy.end_getObjectInfo(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 _getObjectInfosByType_name = "getObjectInfosByType";

    public ObjectInfo[] getObjectInfosByType(String type)
    {
        return _iceI_getObjectInfosByType(type, null, false);
    }

    public ObjectInfo[] getObjectInfosByType(String type, java.util.Map context)
    {
        return _iceI_getObjectInfosByType(type, context, true);
    }

    private ObjectInfo[] _iceI_getObjectInfosByType(String iceP_type, java.util.Map context, boolean explicitCtx)
    {
        _checkTwowayOnly(_getObjectInfosByType_name);
        return end_getObjectInfosByType(_iceI_begin_getObjectInfosByType(iceP_type, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getObjectInfosByType(String type)
    {
        return _iceI_begin_getObjectInfosByType(type, null, false, false, null);
    }

    public Ice.AsyncResult begin_getObjectInfosByType(String type, java.util.Map context)
    {
        return _iceI_begin_getObjectInfosByType(type, context, true, false, null);
    }

    public Ice.AsyncResult begin_getObjectInfosByType(String type, Ice.Callback cb)
    {
        return _iceI_begin_getObjectInfosByType(type, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getObjectInfosByType(String type, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getObjectInfosByType(type, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getObjectInfosByType(String type, Callback_Admin_getObjectInfosByType cb)
    {
        return _iceI_begin_getObjectInfosByType(type, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getObjectInfosByType(String type, java.util.Map context, Callback_Admin_getObjectInfosByType cb)
    {
        return _iceI_begin_getObjectInfosByType(type, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getObjectInfosByType(String type,
                                                      IceInternal.Functional_GenericCallback1 responseCb,
                                                      IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getObjectInfosByType(type, null, false, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getObjectInfosByType(String type,
                                                      IceInternal.Functional_GenericCallback1 responseCb,
                                                      IceInternal.Functional_GenericCallback1 exceptionCb,
                                                      IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getObjectInfosByType(type, null, false, false, responseCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getObjectInfosByType(String type,
                                                      java.util.Map context,
                                                      IceInternal.Functional_GenericCallback1 responseCb,
                                                      IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getObjectInfosByType(type, context, true, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getObjectInfosByType(String type,
                                                      java.util.Map context,
                                                      IceInternal.Functional_GenericCallback1 responseCb,
                                                      IceInternal.Functional_GenericCallback1 exceptionCb,
                                                      IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getObjectInfosByType(type, context, true, false, responseCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getObjectInfosByType(String iceP_type,
                                                             java.util.Map context,
                                                             boolean explicitCtx,
                                                             boolean synchronous,
                                                             IceInternal.Functional_GenericCallback1 responseCb,
                                                             IceInternal.Functional_GenericCallback1 exceptionCb,
                                                             IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getObjectInfosByType(iceP_type,
                                                context,
                                                explicitCtx,
                                                synchronous,
                                                new IceInternal.Functional_TwowayCallbackArg1(responseCb, exceptionCb, sentCb)
                                                    {
                                                        public final void _iceCompleted(Ice.AsyncResult result)
                                                        {
                                                            AdminPrxHelper._iceI_getObjectInfosByType_completed(this, result);
                                                        }
                                                    });
    }

    private Ice.AsyncResult _iceI_begin_getObjectInfosByType(String iceP_type,
                                                             java.util.Map context,
                                                             boolean explicitCtx,
                                                             boolean synchronous,
                                                             IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getObjectInfosByType_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getObjectInfosByType_name, cb);
        try
        {
            result.prepare(_getObjectInfosByType_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_type);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public ObjectInfo[] end_getObjectInfosByType(Ice.AsyncResult iresult)
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getObjectInfosByType_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();
            ObjectInfo[] ret_;
            ret_ = ObjectInfoSeqHelper.read(istr_);
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getObjectInfosByType_completed(Ice.TwowayCallbackArg1 cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        ObjectInfo[] ret = null;
        try
        {
            ret = _proxy.end_getObjectInfosByType(result);
        }
        catch(Ice.LocalException ex)
        {
            cb.exception(ex);
            return;
        }
        catch(Ice.SystemException ex)
        {
            cb.exception(ex);
            return;
        }
        cb.response(ret);
    }

    private static final String _getAllObjectInfos_name = "getAllObjectInfos";

    public ObjectInfo[] getAllObjectInfos(String expr)
    {
        return _iceI_getAllObjectInfos(expr, null, false);
    }

    public ObjectInfo[] getAllObjectInfos(String expr, java.util.Map context)
    {
        return _iceI_getAllObjectInfos(expr, context, true);
    }

    private ObjectInfo[] _iceI_getAllObjectInfos(String iceP_expr, java.util.Map context, boolean explicitCtx)
    {
        _checkTwowayOnly(_getAllObjectInfos_name);
        return end_getAllObjectInfos(_iceI_begin_getAllObjectInfos(iceP_expr, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getAllObjectInfos(String expr)
    {
        return _iceI_begin_getAllObjectInfos(expr, null, false, false, null);
    }

    public Ice.AsyncResult begin_getAllObjectInfos(String expr, java.util.Map context)
    {
        return _iceI_begin_getAllObjectInfos(expr, context, true, false, null);
    }

    public Ice.AsyncResult begin_getAllObjectInfos(String expr, Ice.Callback cb)
    {
        return _iceI_begin_getAllObjectInfos(expr, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getAllObjectInfos(String expr, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getAllObjectInfos(expr, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getAllObjectInfos(String expr, Callback_Admin_getAllObjectInfos cb)
    {
        return _iceI_begin_getAllObjectInfos(expr, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getAllObjectInfos(String expr, java.util.Map context, Callback_Admin_getAllObjectInfos cb)
    {
        return _iceI_begin_getAllObjectInfos(expr, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getAllObjectInfos(String expr,
                                                   IceInternal.Functional_GenericCallback1 responseCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getAllObjectInfos(expr, null, false, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getAllObjectInfos(String expr,
                                                   IceInternal.Functional_GenericCallback1 responseCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb,
                                                   IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllObjectInfos(expr, null, false, false, responseCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getAllObjectInfos(String expr,
                                                   java.util.Map context,
                                                   IceInternal.Functional_GenericCallback1 responseCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getAllObjectInfos(expr, context, true, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getAllObjectInfos(String expr,
                                                   java.util.Map context,
                                                   IceInternal.Functional_GenericCallback1 responseCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb,
                                                   IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllObjectInfos(expr, context, true, false, responseCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getAllObjectInfos(String iceP_expr,
                                                          java.util.Map context,
                                                          boolean explicitCtx,
                                                          boolean synchronous,
                                                          IceInternal.Functional_GenericCallback1 responseCb,
                                                          IceInternal.Functional_GenericCallback1 exceptionCb,
                                                          IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllObjectInfos(iceP_expr,
                                             context,
                                             explicitCtx,
                                             synchronous,
                                             new IceInternal.Functional_TwowayCallbackArg1(responseCb, exceptionCb, sentCb)
                                                 {
                                                     public final void _iceCompleted(Ice.AsyncResult result)
                                                     {
                                                         AdminPrxHelper._iceI_getAllObjectInfos_completed(this, result);
                                                     }
                                                 });
    }

    private Ice.AsyncResult _iceI_begin_getAllObjectInfos(String iceP_expr,
                                                          java.util.Map context,
                                                          boolean explicitCtx,
                                                          boolean synchronous,
                                                          IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getAllObjectInfos_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getAllObjectInfos_name, cb);
        try
        {
            result.prepare(_getAllObjectInfos_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_expr);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public ObjectInfo[] end_getAllObjectInfos(Ice.AsyncResult iresult)
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getAllObjectInfos_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();
            ObjectInfo[] ret_;
            ret_ = ObjectInfoSeqHelper.read(istr_);
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getAllObjectInfos_completed(Ice.TwowayCallbackArg1 cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        ObjectInfo[] ret = null;
        try
        {
            ret = _proxy.end_getAllObjectInfos(result);
        }
        catch(Ice.LocalException ex)
        {
            cb.exception(ex);
            return;
        }
        catch(Ice.SystemException ex)
        {
            cb.exception(ex);
            return;
        }
        cb.response(ret);
    }

    private static final String _pingNode_name = "pingNode";

    public boolean pingNode(String name)
        throws NodeNotExistException
    {
        return _iceI_pingNode(name, null, false);
    }

    public boolean pingNode(String name, java.util.Map context)
        throws NodeNotExistException
    {
        return _iceI_pingNode(name, context, true);
    }

    private boolean _iceI_pingNode(String iceP_name, java.util.Map context, boolean explicitCtx)
        throws NodeNotExistException
    {
        _checkTwowayOnly(_pingNode_name);
        return end_pingNode(_iceI_begin_pingNode(iceP_name, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_pingNode(String name)
    {
        return _iceI_begin_pingNode(name, null, false, false, null);
    }

    public Ice.AsyncResult begin_pingNode(String name, java.util.Map context)
    {
        return _iceI_begin_pingNode(name, context, true, false, null);
    }

    public Ice.AsyncResult begin_pingNode(String name, Ice.Callback cb)
    {
        return _iceI_begin_pingNode(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_pingNode(String name, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_pingNode(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_pingNode(String name, Callback_Admin_pingNode cb)
    {
        return _iceI_begin_pingNode(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_pingNode(String name, java.util.Map context, Callback_Admin_pingNode cb)
    {
        return _iceI_begin_pingNode(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_pingNode(String name,
                                          IceInternal.Functional_BoolCallback responseCb,
                                          IceInternal.Functional_GenericCallback1 userExceptionCb,
                                          IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_pingNode(name, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_pingNode(String name,
                                          IceInternal.Functional_BoolCallback responseCb,
                                          IceInternal.Functional_GenericCallback1 userExceptionCb,
                                          IceInternal.Functional_GenericCallback1 exceptionCb,
                                          IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_pingNode(name, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_pingNode(String name,
                                          java.util.Map context,
                                          IceInternal.Functional_BoolCallback responseCb,
                                          IceInternal.Functional_GenericCallback1 userExceptionCb,
                                          IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_pingNode(name, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_pingNode(String name,
                                          java.util.Map context,
                                          IceInternal.Functional_BoolCallback responseCb,
                                          IceInternal.Functional_GenericCallback1 userExceptionCb,
                                          IceInternal.Functional_GenericCallback1 exceptionCb,
                                          IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_pingNode(name, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_pingNode(String iceP_name,
                                                 java.util.Map context,
                                                 boolean explicitCtx,
                                                 boolean synchronous,
                                                 IceInternal.Functional_BoolCallback responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_pingNode(iceP_name,
                                    context,
                                    explicitCtx,
                                    synchronous,
                                    new IceInternal.Functional_TwowayCallbackBoolUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                        {
                                            public final void _iceCompleted(Ice.AsyncResult result)
                                            {
                                                AdminPrxHelper._iceI_pingNode_completed(this, result);
                                            }
                                        });
    }

    private Ice.AsyncResult _iceI_begin_pingNode(String iceP_name,
                                                 java.util.Map context,
                                                 boolean explicitCtx,
                                                 boolean synchronous,
                                                 IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_pingNode_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_pingNode_name, cb);
        try
        {
            result.prepare(_pingNode_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_name);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public boolean end_pingNode(Ice.AsyncResult iresult)
        throws NodeNotExistException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _pingNode_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(NodeNotExistException ex_)
                {
                    throw ex_;
                }
                catch(Ice.UserException ex_)
                {
                    throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
                }
            }
            Ice.InputStream istr_ = result_.startReadParams();
            boolean ret_;
            ret_ = istr_.readBool();
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_pingNode_completed(Ice.TwowayCallbackBoolUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        boolean ret = false;
        try
        {
            ret = _proxy.end_pingNode(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 _getNodeLoad_name = "getNodeLoad";

    public LoadInfo getNodeLoad(String name)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        return _iceI_getNodeLoad(name, null, false);
    }

    public LoadInfo getNodeLoad(String name, java.util.Map context)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        return _iceI_getNodeLoad(name, context, true);
    }

    private LoadInfo _iceI_getNodeLoad(String iceP_name, java.util.Map context, boolean explicitCtx)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        _checkTwowayOnly(_getNodeLoad_name);
        return end_getNodeLoad(_iceI_begin_getNodeLoad(iceP_name, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getNodeLoad(String name)
    {
        return _iceI_begin_getNodeLoad(name, null, false, false, null);
    }

    public Ice.AsyncResult begin_getNodeLoad(String name, java.util.Map context)
    {
        return _iceI_begin_getNodeLoad(name, context, true, false, null);
    }

    public Ice.AsyncResult begin_getNodeLoad(String name, Ice.Callback cb)
    {
        return _iceI_begin_getNodeLoad(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getNodeLoad(String name, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getNodeLoad(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getNodeLoad(String name, Callback_Admin_getNodeLoad cb)
    {
        return _iceI_begin_getNodeLoad(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getNodeLoad(String name, java.util.Map context, Callback_Admin_getNodeLoad cb)
    {
        return _iceI_begin_getNodeLoad(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getNodeLoad(String name,
                                             IceInternal.Functional_GenericCallback1 responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getNodeLoad(name, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getNodeLoad(String name,
                                             IceInternal.Functional_GenericCallback1 responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb,
                                             IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getNodeLoad(name, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getNodeLoad(String name,
                                             java.util.Map context,
                                             IceInternal.Functional_GenericCallback1 responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getNodeLoad(name, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getNodeLoad(String name,
                                             java.util.Map context,
                                             IceInternal.Functional_GenericCallback1 responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb,
                                             IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getNodeLoad(name, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getNodeLoad(String iceP_name,
                                                    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_getNodeLoad(iceP_name,
                                       context,
                                       explicitCtx,
                                       synchronous,
                                       new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                           {
                                               public final void _iceCompleted(Ice.AsyncResult result)
                                               {
                                                   AdminPrxHelper._iceI_getNodeLoad_completed(this, result);
                                               }
                                           });
    }

    private Ice.AsyncResult _iceI_begin_getNodeLoad(String iceP_name,
                                                    java.util.Map context,
                                                    boolean explicitCtx,
                                                    boolean synchronous,
                                                    IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getNodeLoad_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getNodeLoad_name, cb);
        try
        {
            result.prepare(_getNodeLoad_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_name);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public LoadInfo end_getNodeLoad(Ice.AsyncResult iresult)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getNodeLoad_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(NodeNotExistException ex_)
                {
                    throw ex_;
                }
                catch(NodeUnreachableException ex_)
                {
                    throw ex_;
                }
                catch(Ice.UserException ex_)
                {
                    throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
                }
            }
            Ice.InputStream istr_ = result_.startReadParams();
            LoadInfo ret_ = null;
            ret_ = LoadInfo.ice_read(istr_);
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getNodeLoad_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        LoadInfo ret = null;
        try
        {
            ret = _proxy.end_getNodeLoad(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 _getNodeInfo_name = "getNodeInfo";

    public NodeInfo getNodeInfo(String name)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        return _iceI_getNodeInfo(name, null, false);
    }

    public NodeInfo getNodeInfo(String name, java.util.Map context)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        return _iceI_getNodeInfo(name, context, true);
    }

    private NodeInfo _iceI_getNodeInfo(String iceP_name, java.util.Map context, boolean explicitCtx)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        _checkTwowayOnly(_getNodeInfo_name);
        return end_getNodeInfo(_iceI_begin_getNodeInfo(iceP_name, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getNodeInfo(String name)
    {
        return _iceI_begin_getNodeInfo(name, null, false, false, null);
    }

    public Ice.AsyncResult begin_getNodeInfo(String name, java.util.Map context)
    {
        return _iceI_begin_getNodeInfo(name, context, true, false, null);
    }

    public Ice.AsyncResult begin_getNodeInfo(String name, Ice.Callback cb)
    {
        return _iceI_begin_getNodeInfo(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getNodeInfo(String name, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getNodeInfo(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getNodeInfo(String name, Callback_Admin_getNodeInfo cb)
    {
        return _iceI_begin_getNodeInfo(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getNodeInfo(String name, java.util.Map context, Callback_Admin_getNodeInfo cb)
    {
        return _iceI_begin_getNodeInfo(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getNodeInfo(String name,
                                             IceInternal.Functional_GenericCallback1 responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getNodeInfo(name, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getNodeInfo(String name,
                                             IceInternal.Functional_GenericCallback1 responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb,
                                             IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getNodeInfo(name, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getNodeInfo(String name,
                                             java.util.Map context,
                                             IceInternal.Functional_GenericCallback1 responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getNodeInfo(name, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getNodeInfo(String name,
                                             java.util.Map context,
                                             IceInternal.Functional_GenericCallback1 responseCb,
                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                             IceInternal.Functional_GenericCallback1 exceptionCb,
                                             IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getNodeInfo(name, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getNodeInfo(String iceP_name,
                                                    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_getNodeInfo(iceP_name,
                                       context,
                                       explicitCtx,
                                       synchronous,
                                       new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                           {
                                               public final void _iceCompleted(Ice.AsyncResult result)
                                               {
                                                   AdminPrxHelper._iceI_getNodeInfo_completed(this, result);
                                               }
                                           });
    }

    private Ice.AsyncResult _iceI_begin_getNodeInfo(String iceP_name,
                                                    java.util.Map context,
                                                    boolean explicitCtx,
                                                    boolean synchronous,
                                                    IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getNodeInfo_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getNodeInfo_name, cb);
        try
        {
            result.prepare(_getNodeInfo_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_name);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public NodeInfo end_getNodeInfo(Ice.AsyncResult iresult)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getNodeInfo_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(NodeNotExistException ex_)
                {
                    throw ex_;
                }
                catch(NodeUnreachableException ex_)
                {
                    throw ex_;
                }
                catch(Ice.UserException ex_)
                {
                    throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
                }
            }
            Ice.InputStream istr_ = result_.startReadParams();
            NodeInfo ret_ = null;
            ret_ = NodeInfo.ice_read(istr_);
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getNodeInfo_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        NodeInfo ret = null;
        try
        {
            ret = _proxy.end_getNodeInfo(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 _getNodeAdmin_name = "getNodeAdmin";

    public Ice.ObjectPrx getNodeAdmin(String name)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        return _iceI_getNodeAdmin(name, null, false);
    }

    public Ice.ObjectPrx getNodeAdmin(String name, java.util.Map context)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        return _iceI_getNodeAdmin(name, context, true);
    }

    private Ice.ObjectPrx _iceI_getNodeAdmin(String iceP_name, java.util.Map context, boolean explicitCtx)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        _checkTwowayOnly(_getNodeAdmin_name);
        return end_getNodeAdmin(_iceI_begin_getNodeAdmin(iceP_name, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getNodeAdmin(String name)
    {
        return _iceI_begin_getNodeAdmin(name, null, false, false, null);
    }

    public Ice.AsyncResult begin_getNodeAdmin(String name, java.util.Map context)
    {
        return _iceI_begin_getNodeAdmin(name, context, true, false, null);
    }

    public Ice.AsyncResult begin_getNodeAdmin(String name, Ice.Callback cb)
    {
        return _iceI_begin_getNodeAdmin(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getNodeAdmin(String name, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getNodeAdmin(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getNodeAdmin(String name, Callback_Admin_getNodeAdmin cb)
    {
        return _iceI_begin_getNodeAdmin(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getNodeAdmin(String name, java.util.Map context, Callback_Admin_getNodeAdmin cb)
    {
        return _iceI_begin_getNodeAdmin(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getNodeAdmin(String name,
                                              IceInternal.Functional_GenericCallback1 responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getNodeAdmin(name, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getNodeAdmin(String name,
                                              IceInternal.Functional_GenericCallback1 responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb,
                                              IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getNodeAdmin(name, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getNodeAdmin(String name,
                                              java.util.Map context,
                                              IceInternal.Functional_GenericCallback1 responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getNodeAdmin(name, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getNodeAdmin(String name,
                                              java.util.Map context,
                                              IceInternal.Functional_GenericCallback1 responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb,
                                              IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getNodeAdmin(name, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getNodeAdmin(String iceP_name,
                                                     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_getNodeAdmin(iceP_name,
                                        context,
                                        explicitCtx,
                                        synchronous,
                                        new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                            {
                                                public final void _iceCompleted(Ice.AsyncResult result)
                                                {
                                                    AdminPrxHelper._iceI_getNodeAdmin_completed(this, result);
                                                }
                                            });
    }

    private Ice.AsyncResult _iceI_begin_getNodeAdmin(String iceP_name,
                                                     java.util.Map context,
                                                     boolean explicitCtx,
                                                     boolean synchronous,
                                                     IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getNodeAdmin_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getNodeAdmin_name, cb);
        try
        {
            result.prepare(_getNodeAdmin_name, Ice.OperationMode.Idempotent, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_name);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public Ice.ObjectPrx end_getNodeAdmin(Ice.AsyncResult iresult)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getNodeAdmin_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(NodeNotExistException ex_)
                {
                    throw ex_;
                }
                catch(NodeUnreachableException ex_)
                {
                    throw ex_;
                }
                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_getNodeAdmin_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        Ice.ObjectPrx ret = null;
        try
        {
            ret = _proxy.end_getNodeAdmin(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 _getNodeProcessorSocketCount_name = "getNodeProcessorSocketCount";

    public int getNodeProcessorSocketCount(String name)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        return _iceI_getNodeProcessorSocketCount(name, null, false);
    }

    public int getNodeProcessorSocketCount(String name, java.util.Map context)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        return _iceI_getNodeProcessorSocketCount(name, context, true);
    }

    private int _iceI_getNodeProcessorSocketCount(String iceP_name, java.util.Map context, boolean explicitCtx)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        _checkTwowayOnly(_getNodeProcessorSocketCount_name);
        return end_getNodeProcessorSocketCount(_iceI_begin_getNodeProcessorSocketCount(iceP_name, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getNodeProcessorSocketCount(String name)
    {
        return _iceI_begin_getNodeProcessorSocketCount(name, null, false, false, null);
    }

    public Ice.AsyncResult begin_getNodeProcessorSocketCount(String name, java.util.Map context)
    {
        return _iceI_begin_getNodeProcessorSocketCount(name, context, true, false, null);
    }

    public Ice.AsyncResult begin_getNodeProcessorSocketCount(String name, Ice.Callback cb)
    {
        return _iceI_begin_getNodeProcessorSocketCount(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getNodeProcessorSocketCount(String name, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getNodeProcessorSocketCount(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getNodeProcessorSocketCount(String name, Callback_Admin_getNodeProcessorSocketCount cb)
    {
        return _iceI_begin_getNodeProcessorSocketCount(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getNodeProcessorSocketCount(String name, java.util.Map context, Callback_Admin_getNodeProcessorSocketCount cb)
    {
        return _iceI_begin_getNodeProcessorSocketCount(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getNodeProcessorSocketCount(String name,
                                                             IceInternal.Functional_IntCallback responseCb,
                                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                             IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getNodeProcessorSocketCount(name, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getNodeProcessorSocketCount(String name,
                                                             IceInternal.Functional_IntCallback responseCb,
                                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                             IceInternal.Functional_GenericCallback1 exceptionCb,
                                                             IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getNodeProcessorSocketCount(name, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getNodeProcessorSocketCount(String name,
                                                             java.util.Map context,
                                                             IceInternal.Functional_IntCallback responseCb,
                                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                             IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getNodeProcessorSocketCount(name, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getNodeProcessorSocketCount(String name,
                                                             java.util.Map context,
                                                             IceInternal.Functional_IntCallback responseCb,
                                                             IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                             IceInternal.Functional_GenericCallback1 exceptionCb,
                                                             IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getNodeProcessorSocketCount(name, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getNodeProcessorSocketCount(String iceP_name,
                                                                    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_getNodeProcessorSocketCount(iceP_name,
                                                       context,
                                                       explicitCtx,
                                                       synchronous,
                                                       new IceInternal.Functional_TwowayCallbackIntUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                                           {
                                                               public final void _iceCompleted(Ice.AsyncResult result)
                                                               {
                                                                   AdminPrxHelper._iceI_getNodeProcessorSocketCount_completed(this, result);
                                                               }
                                                           });
    }

    private Ice.AsyncResult _iceI_begin_getNodeProcessorSocketCount(String iceP_name,
                                                                    java.util.Map context,
                                                                    boolean explicitCtx,
                                                                    boolean synchronous,
                                                                    IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getNodeProcessorSocketCount_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getNodeProcessorSocketCount_name, cb);
        try
        {
            result.prepare(_getNodeProcessorSocketCount_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_name);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public int end_getNodeProcessorSocketCount(Ice.AsyncResult iresult)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getNodeProcessorSocketCount_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(NodeNotExistException ex_)
                {
                    throw ex_;
                }
                catch(NodeUnreachableException 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_getNodeProcessorSocketCount_completed(Ice.TwowayCallbackIntUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        int ret = 0;
        try
        {
            ret = _proxy.end_getNodeProcessorSocketCount(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 _shutdownNode_name = "shutdownNode";

    public void shutdownNode(String name)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        _iceI_shutdownNode(name, null, false);
    }

    public void shutdownNode(String name, java.util.Map context)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        _iceI_shutdownNode(name, context, true);
    }

    private void _iceI_shutdownNode(String iceP_name, java.util.Map context, boolean explicitCtx)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        _checkTwowayOnly(_shutdownNode_name);
        end_shutdownNode(_iceI_begin_shutdownNode(iceP_name, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_shutdownNode(String name)
    {
        return _iceI_begin_shutdownNode(name, null, false, false, null);
    }

    public Ice.AsyncResult begin_shutdownNode(String name, java.util.Map context)
    {
        return _iceI_begin_shutdownNode(name, context, true, false, null);
    }

    public Ice.AsyncResult begin_shutdownNode(String name, Ice.Callback cb)
    {
        return _iceI_begin_shutdownNode(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_shutdownNode(String name, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_shutdownNode(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_shutdownNode(String name, Callback_Admin_shutdownNode cb)
    {
        return _iceI_begin_shutdownNode(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_shutdownNode(String name, java.util.Map context, Callback_Admin_shutdownNode cb)
    {
        return _iceI_begin_shutdownNode(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_shutdownNode(String name,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_shutdownNode(name, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_shutdownNode(String name,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb,
                                              IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_shutdownNode(name, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_shutdownNode(String name,
                                              java.util.Map context,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_shutdownNode(name, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_shutdownNode(String name,
                                              java.util.Map context,
                                              IceInternal.Functional_VoidCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb,
                                              IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_shutdownNode(name, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_shutdownNode(String iceP_name,
                                                     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_shutdownNode(iceP_name,
                                        context,
                                        explicitCtx,
                                        synchronous,
                                        new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                            {
                                                public final void _iceCompleted(Ice.AsyncResult result)
                                                {
                                                    AdminPrxHelper._iceI_shutdownNode_completed(this, result);
                                                }
                                            });
    }

    private Ice.AsyncResult _iceI_begin_shutdownNode(String iceP_name,
                                                     java.util.Map context,
                                                     boolean explicitCtx,
                                                     boolean synchronous,
                                                     IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_shutdownNode_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_shutdownNode_name, cb);
        try
        {
            result.prepare(_shutdownNode_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_name);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_shutdownNode(Ice.AsyncResult iresult)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _shutdownNode_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(NodeNotExistException ex_)
                {
                    throw ex_;
                }
                catch(NodeUnreachableException 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_shutdownNode_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_shutdownNode(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 _getNodeHostname_name = "getNodeHostname";

    public String getNodeHostname(String name)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        return _iceI_getNodeHostname(name, null, false);
    }

    public String getNodeHostname(String name, java.util.Map context)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        return _iceI_getNodeHostname(name, context, true);
    }

    private String _iceI_getNodeHostname(String iceP_name, java.util.Map context, boolean explicitCtx)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        _checkTwowayOnly(_getNodeHostname_name);
        return end_getNodeHostname(_iceI_begin_getNodeHostname(iceP_name, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getNodeHostname(String name)
    {
        return _iceI_begin_getNodeHostname(name, null, false, false, null);
    }

    public Ice.AsyncResult begin_getNodeHostname(String name, java.util.Map context)
    {
        return _iceI_begin_getNodeHostname(name, context, true, false, null);
    }

    public Ice.AsyncResult begin_getNodeHostname(String name, Ice.Callback cb)
    {
        return _iceI_begin_getNodeHostname(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getNodeHostname(String name, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getNodeHostname(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getNodeHostname(String name, Callback_Admin_getNodeHostname cb)
    {
        return _iceI_begin_getNodeHostname(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getNodeHostname(String name, java.util.Map context, Callback_Admin_getNodeHostname cb)
    {
        return _iceI_begin_getNodeHostname(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getNodeHostname(String name,
                                                 IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getNodeHostname(name, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getNodeHostname(String name,
                                                 IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getNodeHostname(name, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getNodeHostname(String name,
                                                 java.util.Map context,
                                                 IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getNodeHostname(name, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getNodeHostname(String name,
                                                 java.util.Map context,
                                                 IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getNodeHostname(name, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getNodeHostname(String iceP_name,
                                                        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_getNodeHostname(iceP_name,
                                           context,
                                           explicitCtx,
                                           synchronous,
                                           new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                               {
                                                   public final void _iceCompleted(Ice.AsyncResult result)
                                                   {
                                                       AdminPrxHelper._iceI_getNodeHostname_completed(this, result);
                                                   }
                                               });
    }

    private Ice.AsyncResult _iceI_begin_getNodeHostname(String iceP_name,
                                                        java.util.Map context,
                                                        boolean explicitCtx,
                                                        boolean synchronous,
                                                        IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getNodeHostname_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getNodeHostname_name, cb);
        try
        {
            result.prepare(_getNodeHostname_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_name);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public String end_getNodeHostname(Ice.AsyncResult iresult)
        throws NodeNotExistException,
               NodeUnreachableException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getNodeHostname_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(NodeNotExistException ex_)
                {
                    throw ex_;
                }
                catch(NodeUnreachableException ex_)
                {
                    throw ex_;
                }
                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_getNodeHostname_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        String ret = null;
        try
        {
            ret = _proxy.end_getNodeHostname(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 _getAllNodeNames_name = "getAllNodeNames";

    public String[] getAllNodeNames()
    {
        return _iceI_getAllNodeNames(null, false);
    }

    public String[] getAllNodeNames(java.util.Map context)
    {
        return _iceI_getAllNodeNames(context, true);
    }

    private String[] _iceI_getAllNodeNames(java.util.Map context, boolean explicitCtx)
    {
        _checkTwowayOnly(_getAllNodeNames_name);
        return end_getAllNodeNames(_iceI_begin_getAllNodeNames(context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getAllNodeNames()
    {
        return _iceI_begin_getAllNodeNames(null, false, false, null);
    }

    public Ice.AsyncResult begin_getAllNodeNames(java.util.Map context)
    {
        return _iceI_begin_getAllNodeNames(context, true, false, null);
    }

    public Ice.AsyncResult begin_getAllNodeNames(Ice.Callback cb)
    {
        return _iceI_begin_getAllNodeNames(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getAllNodeNames(java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getAllNodeNames(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getAllNodeNames(Callback_Admin_getAllNodeNames cb)
    {
        return _iceI_begin_getAllNodeNames(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getAllNodeNames(java.util.Map context, Callback_Admin_getAllNodeNames cb)
    {
        return _iceI_begin_getAllNodeNames(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getAllNodeNames(IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getAllNodeNames(null, false, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getAllNodeNames(IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllNodeNames(null, false, false, responseCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getAllNodeNames(java.util.Map context,
                                                 IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getAllNodeNames(context, true, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getAllNodeNames(java.util.Map context,
                                                 IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllNodeNames(context, true, false, responseCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getAllNodeNames(java.util.Map context,
                                                        boolean explicitCtx,
                                                        boolean synchronous,
                                                        IceInternal.Functional_GenericCallback1 responseCb,
                                                        IceInternal.Functional_GenericCallback1 exceptionCb,
                                                        IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllNodeNames(context,
                                           explicitCtx,
                                           synchronous,
                                           new IceInternal.Functional_TwowayCallbackArg1(responseCb, exceptionCb, sentCb)
                                               {
                                                   public final void _iceCompleted(Ice.AsyncResult result)
                                                   {
                                                       AdminPrxHelper._iceI_getAllNodeNames_completed(this, result);
                                                   }
                                               });
    }

    private Ice.AsyncResult _iceI_begin_getAllNodeNames(java.util.Map context,
                                                        boolean explicitCtx,
                                                        boolean synchronous,
                                                        IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getAllNodeNames_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getAllNodeNames_name, cb);
        try
        {
            result.prepare(_getAllNodeNames_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            result.writeEmptyParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public String[] end_getAllNodeNames(Ice.AsyncResult iresult)
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getAllNodeNames_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_ = Ice.StringSeqHelper.read(istr_);
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getAllNodeNames_completed(Ice.TwowayCallbackArg1 cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        String[] ret = null;
        try
        {
            ret = _proxy.end_getAllNodeNames(result);
        }
        catch(Ice.LocalException ex)
        {
            cb.exception(ex);
            return;
        }
        catch(Ice.SystemException ex)
        {
            cb.exception(ex);
            return;
        }
        cb.response(ret);
    }

    private static final String _pingRegistry_name = "pingRegistry";

    public boolean pingRegistry(String name)
        throws RegistryNotExistException
    {
        return _iceI_pingRegistry(name, null, false);
    }

    public boolean pingRegistry(String name, java.util.Map context)
        throws RegistryNotExistException
    {
        return _iceI_pingRegistry(name, context, true);
    }

    private boolean _iceI_pingRegistry(String iceP_name, java.util.Map context, boolean explicitCtx)
        throws RegistryNotExistException
    {
        _checkTwowayOnly(_pingRegistry_name);
        return end_pingRegistry(_iceI_begin_pingRegistry(iceP_name, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_pingRegistry(String name)
    {
        return _iceI_begin_pingRegistry(name, null, false, false, null);
    }

    public Ice.AsyncResult begin_pingRegistry(String name, java.util.Map context)
    {
        return _iceI_begin_pingRegistry(name, context, true, false, null);
    }

    public Ice.AsyncResult begin_pingRegistry(String name, Ice.Callback cb)
    {
        return _iceI_begin_pingRegistry(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_pingRegistry(String name, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_pingRegistry(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_pingRegistry(String name, Callback_Admin_pingRegistry cb)
    {
        return _iceI_begin_pingRegistry(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_pingRegistry(String name, java.util.Map context, Callback_Admin_pingRegistry cb)
    {
        return _iceI_begin_pingRegistry(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_pingRegistry(String name,
                                              IceInternal.Functional_BoolCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_pingRegistry(name, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_pingRegistry(String name,
                                              IceInternal.Functional_BoolCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb,
                                              IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_pingRegistry(name, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_pingRegistry(String name,
                                              java.util.Map context,
                                              IceInternal.Functional_BoolCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_pingRegistry(name, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_pingRegistry(String name,
                                              java.util.Map context,
                                              IceInternal.Functional_BoolCallback responseCb,
                                              IceInternal.Functional_GenericCallback1 userExceptionCb,
                                              IceInternal.Functional_GenericCallback1 exceptionCb,
                                              IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_pingRegistry(name, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_pingRegistry(String iceP_name,
                                                     java.util.Map context,
                                                     boolean explicitCtx,
                                                     boolean synchronous,
                                                     IceInternal.Functional_BoolCallback responseCb,
                                                     IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                     IceInternal.Functional_GenericCallback1 exceptionCb,
                                                     IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_pingRegistry(iceP_name,
                                        context,
                                        explicitCtx,
                                        synchronous,
                                        new IceInternal.Functional_TwowayCallbackBoolUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                            {
                                                public final void _iceCompleted(Ice.AsyncResult result)
                                                {
                                                    AdminPrxHelper._iceI_pingRegistry_completed(this, result);
                                                }
                                            });
    }

    private Ice.AsyncResult _iceI_begin_pingRegistry(String iceP_name,
                                                     java.util.Map context,
                                                     boolean explicitCtx,
                                                     boolean synchronous,
                                                     IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_pingRegistry_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_pingRegistry_name, cb);
        try
        {
            result.prepare(_pingRegistry_name, Ice.OperationMode.Idempotent, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_name);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public boolean end_pingRegistry(Ice.AsyncResult iresult)
        throws RegistryNotExistException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _pingRegistry_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(RegistryNotExistException ex_)
                {
                    throw ex_;
                }
                catch(Ice.UserException ex_)
                {
                    throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
                }
            }
            Ice.InputStream istr_ = result_.startReadParams();
            boolean ret_;
            ret_ = istr_.readBool();
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_pingRegistry_completed(Ice.TwowayCallbackBoolUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        boolean ret = false;
        try
        {
            ret = _proxy.end_pingRegistry(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 _getRegistryInfo_name = "getRegistryInfo";

    public RegistryInfo getRegistryInfo(String name)
        throws RegistryNotExistException,
               RegistryUnreachableException
    {
        return _iceI_getRegistryInfo(name, null, false);
    }

    public RegistryInfo getRegistryInfo(String name, java.util.Map context)
        throws RegistryNotExistException,
               RegistryUnreachableException
    {
        return _iceI_getRegistryInfo(name, context, true);
    }

    private RegistryInfo _iceI_getRegistryInfo(String iceP_name, java.util.Map context, boolean explicitCtx)
        throws RegistryNotExistException,
               RegistryUnreachableException
    {
        _checkTwowayOnly(_getRegistryInfo_name);
        return end_getRegistryInfo(_iceI_begin_getRegistryInfo(iceP_name, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getRegistryInfo(String name)
    {
        return _iceI_begin_getRegistryInfo(name, null, false, false, null);
    }

    public Ice.AsyncResult begin_getRegistryInfo(String name, java.util.Map context)
    {
        return _iceI_begin_getRegistryInfo(name, context, true, false, null);
    }

    public Ice.AsyncResult begin_getRegistryInfo(String name, Ice.Callback cb)
    {
        return _iceI_begin_getRegistryInfo(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getRegistryInfo(String name, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getRegistryInfo(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getRegistryInfo(String name, Callback_Admin_getRegistryInfo cb)
    {
        return _iceI_begin_getRegistryInfo(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getRegistryInfo(String name, java.util.Map context, Callback_Admin_getRegistryInfo cb)
    {
        return _iceI_begin_getRegistryInfo(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getRegistryInfo(String name,
                                                 IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getRegistryInfo(name, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getRegistryInfo(String name,
                                                 IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getRegistryInfo(name, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getRegistryInfo(String name,
                                                 java.util.Map context,
                                                 IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getRegistryInfo(name, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getRegistryInfo(String name,
                                                 java.util.Map context,
                                                 IceInternal.Functional_GenericCallback1 responseCb,
                                                 IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getRegistryInfo(name, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getRegistryInfo(String iceP_name,
                                                        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_getRegistryInfo(iceP_name,
                                           context,
                                           explicitCtx,
                                           synchronous,
                                           new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                               {
                                                   public final void _iceCompleted(Ice.AsyncResult result)
                                                   {
                                                       AdminPrxHelper._iceI_getRegistryInfo_completed(this, result);
                                                   }
                                               });
    }

    private Ice.AsyncResult _iceI_begin_getRegistryInfo(String iceP_name,
                                                        java.util.Map context,
                                                        boolean explicitCtx,
                                                        boolean synchronous,
                                                        IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getRegistryInfo_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getRegistryInfo_name, cb);
        try
        {
            result.prepare(_getRegistryInfo_name, Ice.OperationMode.Idempotent, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_name);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public RegistryInfo end_getRegistryInfo(Ice.AsyncResult iresult)
        throws RegistryNotExistException,
               RegistryUnreachableException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getRegistryInfo_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(RegistryNotExistException ex_)
                {
                    throw ex_;
                }
                catch(RegistryUnreachableException ex_)
                {
                    throw ex_;
                }
                catch(Ice.UserException ex_)
                {
                    throw new Ice.UnknownUserException(ex_.ice_id(), ex_);
                }
            }
            Ice.InputStream istr_ = result_.startReadParams();
            RegistryInfo ret_ = null;
            ret_ = RegistryInfo.ice_read(istr_);
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getRegistryInfo_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        RegistryInfo ret = null;
        try
        {
            ret = _proxy.end_getRegistryInfo(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 _getRegistryAdmin_name = "getRegistryAdmin";

    public Ice.ObjectPrx getRegistryAdmin(String name)
        throws RegistryNotExistException
    {
        return _iceI_getRegistryAdmin(name, null, false);
    }

    public Ice.ObjectPrx getRegistryAdmin(String name, java.util.Map context)
        throws RegistryNotExistException
    {
        return _iceI_getRegistryAdmin(name, context, true);
    }

    private Ice.ObjectPrx _iceI_getRegistryAdmin(String iceP_name, java.util.Map context, boolean explicitCtx)
        throws RegistryNotExistException
    {
        _checkTwowayOnly(_getRegistryAdmin_name);
        return end_getRegistryAdmin(_iceI_begin_getRegistryAdmin(iceP_name, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getRegistryAdmin(String name)
    {
        return _iceI_begin_getRegistryAdmin(name, null, false, false, null);
    }

    public Ice.AsyncResult begin_getRegistryAdmin(String name, java.util.Map context)
    {
        return _iceI_begin_getRegistryAdmin(name, context, true, false, null);
    }

    public Ice.AsyncResult begin_getRegistryAdmin(String name, Ice.Callback cb)
    {
        return _iceI_begin_getRegistryAdmin(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getRegistryAdmin(String name, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getRegistryAdmin(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getRegistryAdmin(String name, Callback_Admin_getRegistryAdmin cb)
    {
        return _iceI_begin_getRegistryAdmin(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_getRegistryAdmin(String name, java.util.Map context, Callback_Admin_getRegistryAdmin cb)
    {
        return _iceI_begin_getRegistryAdmin(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_getRegistryAdmin(String name,
                                                  IceInternal.Functional_GenericCallback1 responseCb,
                                                  IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getRegistryAdmin(name, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getRegistryAdmin(String name,
                                                  IceInternal.Functional_GenericCallback1 responseCb,
                                                  IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb,
                                                  IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getRegistryAdmin(name, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getRegistryAdmin(String name,
                                                  java.util.Map context,
                                                  IceInternal.Functional_GenericCallback1 responseCb,
                                                  IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getRegistryAdmin(name, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getRegistryAdmin(String name,
                                                  java.util.Map context,
                                                  IceInternal.Functional_GenericCallback1 responseCb,
                                                  IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb,
                                                  IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getRegistryAdmin(name, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getRegistryAdmin(String iceP_name,
                                                         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_getRegistryAdmin(iceP_name,
                                            context,
                                            explicitCtx,
                                            synchronous,
                                            new IceInternal.Functional_TwowayCallbackArg1UE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                                {
                                                    public final void _iceCompleted(Ice.AsyncResult result)
                                                    {
                                                        AdminPrxHelper._iceI_getRegistryAdmin_completed(this, result);
                                                    }
                                                });
    }

    private Ice.AsyncResult _iceI_begin_getRegistryAdmin(String iceP_name,
                                                         java.util.Map context,
                                                         boolean explicitCtx,
                                                         boolean synchronous,
                                                         IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getRegistryAdmin_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getRegistryAdmin_name, cb);
        try
        {
            result.prepare(_getRegistryAdmin_name, Ice.OperationMode.Idempotent, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_name);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public Ice.ObjectPrx end_getRegistryAdmin(Ice.AsyncResult iresult)
        throws RegistryNotExistException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getRegistryAdmin_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(RegistryNotExistException ex_)
                {
                    throw ex_;
                }
                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_getRegistryAdmin_completed(Ice.TwowayCallbackArg1UE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        Ice.ObjectPrx ret = null;
        try
        {
            ret = _proxy.end_getRegistryAdmin(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 _shutdownRegistry_name = "shutdownRegistry";

    public void shutdownRegistry(String name)
        throws RegistryNotExistException,
               RegistryUnreachableException
    {
        _iceI_shutdownRegistry(name, null, false);
    }

    public void shutdownRegistry(String name, java.util.Map context)
        throws RegistryNotExistException,
               RegistryUnreachableException
    {
        _iceI_shutdownRegistry(name, context, true);
    }

    private void _iceI_shutdownRegistry(String iceP_name, java.util.Map context, boolean explicitCtx)
        throws RegistryNotExistException,
               RegistryUnreachableException
    {
        _checkTwowayOnly(_shutdownRegistry_name);
        end_shutdownRegistry(_iceI_begin_shutdownRegistry(iceP_name, context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_shutdownRegistry(String name)
    {
        return _iceI_begin_shutdownRegistry(name, null, false, false, null);
    }

    public Ice.AsyncResult begin_shutdownRegistry(String name, java.util.Map context)
    {
        return _iceI_begin_shutdownRegistry(name, context, true, false, null);
    }

    public Ice.AsyncResult begin_shutdownRegistry(String name, Ice.Callback cb)
    {
        return _iceI_begin_shutdownRegistry(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_shutdownRegistry(String name, java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_shutdownRegistry(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_shutdownRegistry(String name, Callback_Admin_shutdownRegistry cb)
    {
        return _iceI_begin_shutdownRegistry(name, null, false, false, cb);
    }

    public Ice.AsyncResult begin_shutdownRegistry(String name, java.util.Map context, Callback_Admin_shutdownRegistry cb)
    {
        return _iceI_begin_shutdownRegistry(name, context, true, false, cb);
    }

    public Ice.AsyncResult begin_shutdownRegistry(String name,
                                                  IceInternal.Functional_VoidCallback responseCb,
                                                  IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_shutdownRegistry(name, null, false, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_shutdownRegistry(String name,
                                                  IceInternal.Functional_VoidCallback responseCb,
                                                  IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb,
                                                  IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_shutdownRegistry(name, null, false, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_shutdownRegistry(String name,
                                                  java.util.Map context,
                                                  IceInternal.Functional_VoidCallback responseCb,
                                                  IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_shutdownRegistry(name, context, true, false, responseCb, userExceptionCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_shutdownRegistry(String name,
                                                  java.util.Map context,
                                                  IceInternal.Functional_VoidCallback responseCb,
                                                  IceInternal.Functional_GenericCallback1 userExceptionCb,
                                                  IceInternal.Functional_GenericCallback1 exceptionCb,
                                                  IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_shutdownRegistry(name, context, true, false, responseCb, userExceptionCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_shutdownRegistry(String iceP_name,
                                                         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_shutdownRegistry(iceP_name,
                                            context,
                                            explicitCtx,
                                            synchronous,
                                            new IceInternal.Functional_TwowayCallbackVoidUE(responseCb, userExceptionCb, exceptionCb, sentCb)
                                                {
                                                    public final void _iceCompleted(Ice.AsyncResult result)
                                                    {
                                                        AdminPrxHelper._iceI_shutdownRegistry_completed(this, result);
                                                    }
                                                });
    }

    private Ice.AsyncResult _iceI_begin_shutdownRegistry(String iceP_name,
                                                         java.util.Map context,
                                                         boolean explicitCtx,
                                                         boolean synchronous,
                                                         IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_shutdownRegistry_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_shutdownRegistry_name, cb);
        try
        {
            result.prepare(_shutdownRegistry_name, Ice.OperationMode.Idempotent, context, explicitCtx, synchronous);
            Ice.OutputStream ostr = result.startWriteParams(Ice.FormatType.DefaultFormat);
            ostr.writeString(iceP_name);
            result.endWriteParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_shutdownRegistry(Ice.AsyncResult iresult)
        throws RegistryNotExistException,
               RegistryUnreachableException
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _shutdownRegistry_name);
        try
        {
            if(!result_.waitForResponseOrUserEx())
            {
                try
                {
                    result_.throwUserException();
                }
                catch(RegistryNotExistException ex_)
                {
                    throw ex_;
                }
                catch(RegistryUnreachableException 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_shutdownRegistry_completed(Ice.TwowayCallbackVoidUE cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        try
        {
            _proxy.end_shutdownRegistry(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 _getAllRegistryNames_name = "getAllRegistryNames";

    public String[] getAllRegistryNames()
    {
        return _iceI_getAllRegistryNames(null, false);
    }

    public String[] getAllRegistryNames(java.util.Map context)
    {
        return _iceI_getAllRegistryNames(context, true);
    }

    private String[] _iceI_getAllRegistryNames(java.util.Map context, boolean explicitCtx)
    {
        _checkTwowayOnly(_getAllRegistryNames_name);
        return end_getAllRegistryNames(_iceI_begin_getAllRegistryNames(context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getAllRegistryNames()
    {
        return _iceI_begin_getAllRegistryNames(null, false, false, null);
    }

    public Ice.AsyncResult begin_getAllRegistryNames(java.util.Map context)
    {
        return _iceI_begin_getAllRegistryNames(context, true, false, null);
    }

    public Ice.AsyncResult begin_getAllRegistryNames(Ice.Callback cb)
    {
        return _iceI_begin_getAllRegistryNames(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getAllRegistryNames(java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getAllRegistryNames(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getAllRegistryNames(Callback_Admin_getAllRegistryNames cb)
    {
        return _iceI_begin_getAllRegistryNames(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getAllRegistryNames(java.util.Map context, Callback_Admin_getAllRegistryNames cb)
    {
        return _iceI_begin_getAllRegistryNames(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getAllRegistryNames(IceInternal.Functional_GenericCallback1 responseCb,
                                                     IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getAllRegistryNames(null, false, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getAllRegistryNames(IceInternal.Functional_GenericCallback1 responseCb,
                                                     IceInternal.Functional_GenericCallback1 exceptionCb,
                                                     IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllRegistryNames(null, false, false, responseCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getAllRegistryNames(java.util.Map context,
                                                     IceInternal.Functional_GenericCallback1 responseCb,
                                                     IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getAllRegistryNames(context, true, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getAllRegistryNames(java.util.Map context,
                                                     IceInternal.Functional_GenericCallback1 responseCb,
                                                     IceInternal.Functional_GenericCallback1 exceptionCb,
                                                     IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllRegistryNames(context, true, false, responseCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getAllRegistryNames(java.util.Map context,
                                                            boolean explicitCtx,
                                                            boolean synchronous,
                                                            IceInternal.Functional_GenericCallback1 responseCb,
                                                            IceInternal.Functional_GenericCallback1 exceptionCb,
                                                            IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getAllRegistryNames(context,
                                               explicitCtx,
                                               synchronous,
                                               new IceInternal.Functional_TwowayCallbackArg1(responseCb, exceptionCb, sentCb)
                                                   {
                                                       public final void _iceCompleted(Ice.AsyncResult result)
                                                       {
                                                           AdminPrxHelper._iceI_getAllRegistryNames_completed(this, result);
                                                       }
                                                   });
    }

    private Ice.AsyncResult _iceI_begin_getAllRegistryNames(java.util.Map context,
                                                            boolean explicitCtx,
                                                            boolean synchronous,
                                                            IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getAllRegistryNames_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getAllRegistryNames_name, cb);
        try
        {
            result.prepare(_getAllRegistryNames_name, Ice.OperationMode.Idempotent, context, explicitCtx, synchronous);
            result.writeEmptyParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public String[] end_getAllRegistryNames(Ice.AsyncResult iresult)
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getAllRegistryNames_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_ = Ice.StringSeqHelper.read(istr_);
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getAllRegistryNames_completed(Ice.TwowayCallbackArg1 cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        String[] ret = null;
        try
        {
            ret = _proxy.end_getAllRegistryNames(result);
        }
        catch(Ice.LocalException ex)
        {
            cb.exception(ex);
            return;
        }
        catch(Ice.SystemException ex)
        {
            cb.exception(ex);
            return;
        }
        cb.response(ret);
    }

    private static final String _shutdown_name = "shutdown";

    public void shutdown()
    {
        _iceI_shutdown(null, false);
    }

    public void shutdown(java.util.Map context)
    {
        _iceI_shutdown(context, true);
    }

    private void _iceI_shutdown(java.util.Map context, boolean explicitCtx)
    {
        end_shutdown(_iceI_begin_shutdown(context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_shutdown()
    {
        return _iceI_begin_shutdown(null, false, false, null);
    }

    public Ice.AsyncResult begin_shutdown(java.util.Map context)
    {
        return _iceI_begin_shutdown(context, true, false, null);
    }

    public Ice.AsyncResult begin_shutdown(Ice.Callback cb)
    {
        return _iceI_begin_shutdown(null, false, false, cb);
    }

    public Ice.AsyncResult begin_shutdown(java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_shutdown(context, true, false, cb);
    }

    public Ice.AsyncResult begin_shutdown(Callback_Admin_shutdown cb)
    {
        return _iceI_begin_shutdown(null, false, false, cb);
    }

    public Ice.AsyncResult begin_shutdown(java.util.Map context, Callback_Admin_shutdown cb)
    {
        return _iceI_begin_shutdown(context, true, false, cb);
    }

    public Ice.AsyncResult begin_shutdown(IceInternal.Functional_VoidCallback responseCb,
                                          IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_shutdown(null, false, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_shutdown(IceInternal.Functional_VoidCallback responseCb,
                                          IceInternal.Functional_GenericCallback1 exceptionCb,
                                          IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_shutdown(null, false, false, responseCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_shutdown(java.util.Map context,
                                          IceInternal.Functional_VoidCallback responseCb,
                                          IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_shutdown(context, true, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_shutdown(java.util.Map context,
                                          IceInternal.Functional_VoidCallback responseCb,
                                          IceInternal.Functional_GenericCallback1 exceptionCb,
                                          IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_shutdown(context, true, false, responseCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_shutdown(java.util.Map context,
                                                 boolean explicitCtx,
                                                 boolean synchronous,
                                                 IceInternal.Functional_VoidCallback responseCb,
                                                 IceInternal.Functional_GenericCallback1 exceptionCb,
                                                 IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_shutdown(context,
                                    explicitCtx,
                                    synchronous,
                                    new IceInternal.Functional_OnewayCallback(responseCb, exceptionCb, sentCb));
    }

    private Ice.AsyncResult _iceI_begin_shutdown(java.util.Map context,
                                                 boolean explicitCtx,
                                                 boolean synchronous,
                                                 IceInternal.CallbackBase cb)
    {
        IceInternal.OutgoingAsync result = getOutgoingAsync(_shutdown_name, cb);
        try
        {
            result.prepare(_shutdown_name, Ice.OperationMode.Normal, context, explicitCtx, synchronous);
            result.writeEmptyParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public void end_shutdown(Ice.AsyncResult iresult)
    {
        _end(iresult, _shutdown_name);
    }

    private static final String _getSliceChecksums_name = "getSliceChecksums";

    public java.util.Map getSliceChecksums()
    {
        return _iceI_getSliceChecksums(null, false);
    }

    public java.util.Map getSliceChecksums(java.util.Map context)
    {
        return _iceI_getSliceChecksums(context, true);
    }

    private java.util.Map _iceI_getSliceChecksums(java.util.Map context, boolean explicitCtx)
    {
        _checkTwowayOnly(_getSliceChecksums_name);
        return end_getSliceChecksums(_iceI_begin_getSliceChecksums(context, explicitCtx, true, null));
    }

    public Ice.AsyncResult begin_getSliceChecksums()
    {
        return _iceI_begin_getSliceChecksums(null, false, false, null);
    }

    public Ice.AsyncResult begin_getSliceChecksums(java.util.Map context)
    {
        return _iceI_begin_getSliceChecksums(context, true, false, null);
    }

    public Ice.AsyncResult begin_getSliceChecksums(Ice.Callback cb)
    {
        return _iceI_begin_getSliceChecksums(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getSliceChecksums(java.util.Map context, Ice.Callback cb)
    {
        return _iceI_begin_getSliceChecksums(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getSliceChecksums(Callback_Admin_getSliceChecksums cb)
    {
        return _iceI_begin_getSliceChecksums(null, false, false, cb);
    }

    public Ice.AsyncResult begin_getSliceChecksums(java.util.Map context, Callback_Admin_getSliceChecksums cb)
    {
        return _iceI_begin_getSliceChecksums(context, true, false, cb);
    }

    public Ice.AsyncResult begin_getSliceChecksums(IceInternal.Functional_GenericCallback1> responseCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getSliceChecksums(null, false, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getSliceChecksums(IceInternal.Functional_GenericCallback1> responseCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb,
                                                   IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getSliceChecksums(null, false, false, responseCb, exceptionCb, sentCb);
    }

    public Ice.AsyncResult begin_getSliceChecksums(java.util.Map context,
                                                   IceInternal.Functional_GenericCallback1> responseCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb)
    {
        return _iceI_begin_getSliceChecksums(context, true, false, responseCb, exceptionCb, null);
    }

    public Ice.AsyncResult begin_getSliceChecksums(java.util.Map context,
                                                   IceInternal.Functional_GenericCallback1> responseCb,
                                                   IceInternal.Functional_GenericCallback1 exceptionCb,
                                                   IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getSliceChecksums(context, true, false, responseCb, exceptionCb, sentCb);
    }

    private Ice.AsyncResult _iceI_begin_getSliceChecksums(java.util.Map context,
                                                          boolean explicitCtx,
                                                          boolean synchronous,
                                                          IceInternal.Functional_GenericCallback1> responseCb,
                                                          IceInternal.Functional_GenericCallback1 exceptionCb,
                                                          IceInternal.Functional_BoolCallback sentCb)
    {
        return _iceI_begin_getSliceChecksums(context,
                                             explicitCtx,
                                             synchronous,
                                             new IceInternal.Functional_TwowayCallbackArg1>(responseCb, exceptionCb, sentCb)
                                                 {
                                                     public final void _iceCompleted(Ice.AsyncResult result)
                                                     {
                                                         AdminPrxHelper._iceI_getSliceChecksums_completed(this, result);
                                                     }
                                                 });
    }

    private Ice.AsyncResult _iceI_begin_getSliceChecksums(java.util.Map context,
                                                          boolean explicitCtx,
                                                          boolean synchronous,
                                                          IceInternal.CallbackBase cb)
    {
        _checkAsyncTwowayOnly(_getSliceChecksums_name);
        IceInternal.OutgoingAsync result = getOutgoingAsync(_getSliceChecksums_name, cb);
        try
        {
            result.prepare(_getSliceChecksums_name, Ice.OperationMode.Nonmutating, context, explicitCtx, synchronous);
            result.writeEmptyParams();
            result.invoke();
        }
        catch(Ice.Exception ex)
        {
            result.abort(ex);
        }
        return result;
    }

    public java.util.Map end_getSliceChecksums(Ice.AsyncResult iresult)
    {
        IceInternal.OutgoingAsync result_ = IceInternal.OutgoingAsync.check(iresult, this, _getSliceChecksums_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();
            java.util.Map ret_;
            ret_ = Ice.SliceChecksumDictHelper.read(istr_);
            result_.endReadParams();
            return ret_;
        }
        finally
        {
            if(result_ != null)
            {
                result_.cacheMessageBuffers();
            }
        }
    }

    static public void _iceI_getSliceChecksums_completed(Ice.TwowayCallbackArg1> cb, Ice.AsyncResult result)
    {
        IceGrid.AdminPrx _proxy = (IceGrid.AdminPrx)result.getProxy();
        java.util.Map ret = null;
        try
        {
            ret = _proxy.end_getSliceChecksums(result);
        }
        catch(Ice.LocalException ex)
        {
            cb.exception(ex);
            return;
        }
        catch(Ice.SystemException ex)
        {
            cb.exception(ex);
            return;
        }
        cb.response(ret);
    }

    /**
     * Contacts the remote server to verify that the object implements this type.
     * Raises a local exception if a communication error occurs.
     * @param obj The untyped proxy.
     * @return A proxy for this type, or null if the object does not support this type.
     **/
    public static AdminPrx checkedCast(Ice.ObjectPrx obj)
    {
        return checkedCastImpl(obj, ice_staticId(), AdminPrx.class, AdminPrxHelper.class);
    }

    /**
     * Contacts the remote server to verify that the object implements this type.
     * Raises a local exception if a communication error occurs.
     * @param obj The untyped proxy.
     * @param context The Context map to send with the invocation.
     * @return A proxy for this type, or null if the object does not support this type.
     **/
    public static AdminPrx checkedCast(Ice.ObjectPrx obj, java.util.Map context)
    {
        return checkedCastImpl(obj, context, ice_staticId(), AdminPrx.class, AdminPrxHelper.class);
    }

    /**
     * Contacts the remote server to verify that a facet of the object implements this type.
     * Raises a local exception if a communication error occurs.
     * @param obj The untyped proxy.
     * @param facet The name of the desired facet.
     * @return A proxy for this type, or null if the object does not support this type.
     **/
    public static AdminPrx checkedCast(Ice.ObjectPrx obj, String facet)
    {
        return checkedCastImpl(obj, facet, ice_staticId(), AdminPrx.class, AdminPrxHelper.class);
    }

    /**
     * Contacts the remote server to verify that a facet of the object implements this type.
     * Raises a local exception if a communication error occurs.
     * @param obj The untyped proxy.
     * @param facet The name of the desired facet.
     * @param context The Context map to send with the invocation.
     * @return A proxy for this type, or null if the object does not support this type.
     **/
    public static AdminPrx checkedCast(Ice.ObjectPrx obj, String facet, java.util.Map context)
    {
        return checkedCastImpl(obj, facet, context, ice_staticId(), AdminPrx.class, AdminPrxHelper.class);
    }

    /**
     * Downcasts the given proxy to this type without contacting the remote server.
     * @param obj The untyped proxy.
     * @return A proxy for this type.
     **/
    public static AdminPrx uncheckedCast(Ice.ObjectPrx obj)
    {
        return uncheckedCastImpl(obj, AdminPrx.class, AdminPrxHelper.class);
    }

    /**
     * Downcasts the given proxy to this type without contacting the remote server.
     * @param obj The untyped proxy.
     * @param facet The name of the desired facet.
     * @return A proxy for this type.
     **/
    public static AdminPrx uncheckedCast(Ice.ObjectPrx obj, String facet)
    {
        return uncheckedCastImpl(obj, facet, AdminPrx.class, AdminPrxHelper.class);
    }

    private static final String[] _ids =
    {
        "::Ice::Object",
        "::IceGrid::Admin"
    };

    /**
     * Provides the Slice type ID of this type.
     * @return The Slice type ID.
     **/
    public static String ice_staticId()
    {
        return _ids[1];
    }

    public static void write(Ice.OutputStream ostr, AdminPrx v)
    {
        ostr.writeProxy(v);
    }

    public static AdminPrx read(Ice.InputStream istr)
    {
        Ice.ObjectPrx proxy = istr.readProxy();
        if(proxy != null)
        {
            AdminPrxHelper result = new AdminPrxHelper();
            result._copyFrom(proxy);
            return result;
        }
        return null;
    }

    public static final long serialVersionUID = 0L;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy