summaryrefslogtreecommitdiff
path: root/TAO/docs/tutorials/Quoter/Event_Service/Consumer_i.h
blob: 3d54c9ff40477909f7c61e1aa2bd937de698f0fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
// $Id$
//

#ifndef TAO_TUTORIALS_QUOTER_EVENT_SERVICE_CONSUMER_I_H
#define TAO_TUTORIALS_QUOTER_EVENT_SERVICE_CONSUMER_I_H

#include <orbsvcs/orbsvcs/CosEventCommS.h>
#include <orbsvcs/orbsvcs/CosEventChanneAdminC.h>

class Stock_Consumer : public POA_CosEventComm::PushConsumer {
public:
  Stock_Consumer ();

  void connect (CosEventChanneAdmin::ConsumerAdmin_ptr consumer_admin);

  void push (const CORBA::Any& data ACE_ENV_ARG_DECL_NOT_USED);
  void disconnect_push_consumer (ACE_ENV_SINGLE_ARG_DECL_NOT_USED);

private:
};

#endif /* TAO_TUTORIALS_QUOTER_EVENT_SERVICE_CONSUMER_I_H */