summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2417_Regression/publisher_impl.h
blob: 43a62ae54acd5ee80b711385350614aed030878e (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
36
37
// $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_ENV_ARG_DECL_WITH_DEFAULTS
    )
    ACE_THROW_SPEC ((
      ::CORBA::SystemException
    ));

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

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

#endif