// $Id: CCM_EventConsumerBase.idl 95539 2012-02-20 13:13:18Z johnnyw $
/// Compliant with OMG 06-04-01 Section 6.6.2

#if !defined (CCM_EVENTCONSUMERBASE_IDL)
#define CCM_EVENTCONSUMERBASE_IDL

#include "ccm/CCM_EventBase.idl"
#include "tao/orb_types.pidl"

#if !defined (CCM_NOEVENT)
module Components
{
  typeprefix Components "omg.org";

  exception BadEventType
  {
    CORBA::RepositoryId expected_event_type;
  };

  interface EventConsumerBase
  {
    void push_event (in EventBase evt) raises (BadEventType);
  };
};
#endif
#endif /* CCM_EVENTCONSUMERBASE_IDL */
