summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2417_Regression/publisher_impl.h
blob: a33a436ded54eceb25f441ce50a0b71cf19838a0 (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
34
35
// $Id$

#ifndef EXPLOIT_PUBLISHER_IMPL_H
#define EXPLOIT_PUBLISHER_IMPL_H

#include "publisherS.h"
#include "subscriberC.h"

class Publisher_impl : public POA_Publisher
{
	public:
		Publisher_impl(CORBA::ORB_ptr orb);
		~Publisher_impl();

    virtual void subscribe (
      ::Subscriber_ptr subscriber
    )
    ACE_THROW_SPEC ((
      ::CORBA::SystemException
    ));

  virtual void shutdown (
    )
    ACE_THROW_SPEC ((
      ::CORBA::SystemException
    ));

	private:
		CORBA::ORB_var orb_;
		class Worker;
		friend class Worker;
		Worker * worker;
};

#endif