summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/DevGuideExamples/NotifyService/EventSequence/EventSequenceConsumer_i.h
blob: e8bdfef2775e6580d6e9ec132d468ddf97865874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// $Id$

#ifndef _EVENTCONSUMER_I_H_
#define _EVENTCONSUMER_I_H_

#include "orbsvcs/CosNotifyChannelAdminS.h"

class EventSequenceConsumer_i : public POA_CosNotifyComm::SequencePushConsumer
{
public:
  EventSequenceConsumer_i(CORBA::ORB_ptr orb);

  virtual void push_structured_events (
    const CosNotification::EventBatch & events
    );

  virtual void offer_change (
    const CosNotification::EventTypeSeq & added,
    const CosNotification::EventTypeSeq & removed
    );

  virtual void disconnect_sequence_push_consumer ();
private:
  CORBA::ORB_var orb_;
};

#endif