//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

package test.Ice.proxy;

import test.Ice.proxy.Test.MyDerivedClass;

public final class MyDerivedClassI implements MyDerivedClass
{
    public MyDerivedClassI()
    {
    }

    @Override
    public com.zeroc.Ice.ObjectPrx echo(com.zeroc.Ice.ObjectPrx obj, com.zeroc.Ice.Current c)
    {
        return obj;
    }

    @Override
    public void shutdown(com.zeroc.Ice.Current c)
    {
        c.adapter.getCommunicator().shutdown();
    }

    @Override
    public java.util.Map<String, String> getContext(com.zeroc.Ice.Current current)
    {
        return _ctx;
    }

    @Override
    public boolean ice_isA(String s, com.zeroc.Ice.Current current)
    {
        _ctx = current.ctx;
        return MyDerivedClass.super.ice_isA(s, current);
    }

    private java.util.Map<String, String> _ctx;
}
