//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
package test.Ice.ami;

import test.Ice.ami.Test._TestIntfControllerDisp;

class TestControllerI extends _TestIntfControllerDisp
{
    @Override
    public void
    holdAdapter(Ice.Current current)
    {
        _adapter.hold();
    }

    @Override
    public void
    resumeAdapter(Ice.Current current)
    {
        _adapter.activate();
    }

    public
    TestControllerI(Ice.ObjectAdapter adapter)
    {
        _adapter = adapter;
    }

    final private Ice.ObjectAdapter _adapter;
}
