// Consumer.cpp,v 1.3 2005/10/03 19:27:01 jwillemsen Exp

#include "Consumer.h"

ACE_RCSID(EC_Examples, Consumer, "Consumer.cpp,v 1.3 2005/10/03 19:27:01 jwillemsen Exp")

Consumer::Consumer (void)
{
}

void
Consumer::push (const RtecEventComm::EventSet& events
                ACE_ENV_ARG_DECL_NOT_USED)
    ACE_THROW_SPEC ((CORBA::SystemException))
{
  if (events.length () == 0)
    {
      ACE_DEBUG ((LM_DEBUG,
                  "Consumer (%P|%t) no events\n"));
      return;
    }

  ACE_DEBUG ((LM_DEBUG, "Consumer (%P|%t) we received event type %d\n",
              events[0].header.type));
}

void
Consumer::disconnect_push_consumer (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
    ACE_THROW_SPEC ((CORBA::SystemException))
{
}

