summaryrefslogtreecommitdiff
path: root/orbsvcs/tests/Bug_3387_Regression/StructuredEventConsumer_i.h
blob: a2b07b3fd30283b3c8e21dae129df4b0d1c32ad5 (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
28
29
30
31
32
33
// -*- C++ -*-
// $Id$

#ifndef _EVENTCONSUMER_I_H_
#define _EVENTCONSUMER_I_H_

#include "orbsvcs/CosNotifyCommS.h"

class StructuredEventConsumer_i : 
  public virtual POA_CosNotifyComm::StructuredPushConsumer
{
public:
    StructuredEventConsumer_i(CORBA::ORB_ptr orb);

    virtual void push_structured_event(
      const CosNotification::StructuredEvent &notification
                                       );

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

   virtual void disconnect_structured_push_consumer();

   int nummsgs();

private:
    CORBA::ORB_var orb_;
    int count_;
};

#endif