package test.interop.bug360;

import org.omg.PortableServer.POA;

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

public class onewayPushConsumerPOATie
	extends onewayPushConsumerPOA
{
	private onewayPushConsumerOperations _delegate;

	private POA _poa;
	public onewayPushConsumerPOATie(onewayPushConsumerOperations delegate)
	{
		_delegate = delegate;
	}
	public onewayPushConsumerPOATie(onewayPushConsumerOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public test.interop.bug360.onewayPushConsumer _this()
	{
		org.omg.CORBA.Object __o = _this_object() ;
		test.interop.bug360.onewayPushConsumer __r = test.interop.bug360.onewayPushConsumerHelper.narrow(__o);
		return __r;
	}
	public test.interop.bug360.onewayPushConsumer _this(org.omg.CORBA.ORB orb)
	{
		org.omg.CORBA.Object __o = _this_object(orb) ;
		test.interop.bug360.onewayPushConsumer __r = test.interop.bug360.onewayPushConsumerHelper.narrow(__o);
		return __r;
	}
	public onewayPushConsumerOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(onewayPushConsumerOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public void synchronousPush(org.omg.CORBA.Any data)
	{
_delegate.synchronousPush(data);
	}

	public void onewayPush(org.omg.CORBA.Any data)
	{
_delegate.onewayPush(data);
	}

}
