package test.interop.bidir;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "ClientCallback".
 *
 * @author JacORB IDL compiler V @project.version@
 * @version generated at 25-Feb-2014 13:44:20
 */

public class ClientCallbackPOATie
	extends ClientCallbackPOA
{
	private ClientCallbackOperations _delegate;

	private POA _poa;
	public ClientCallbackPOATie(ClientCallbackOperations delegate)
	{
		_delegate = delegate;
	}
	public ClientCallbackPOATie(ClientCallbackOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public test.interop.bidir.ClientCallback _this()
	{
		org.omg.CORBA.Object __o = _this_object() ;
		test.interop.bidir.ClientCallback __r = test.interop.bidir.ClientCallbackHelper.narrow(__o);
		return __r;
	}
	public test.interop.bidir.ClientCallback _this(org.omg.CORBA.ORB orb)
	{
		org.omg.CORBA.Object __o = _this_object(orb) ;
		test.interop.bidir.ClientCallback __r = test.interop.bidir.ClientCallbackHelper.narrow(__o);
		return __r;
	}
	public ClientCallbackOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(ClientCallbackOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public void hello(java.lang.String message)
	{
_delegate.hello(message);
	}

}
