summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/NotifySubscribe_i.h
blob: b43051c6b2bd488488c788d7f56e7c17c6d88916 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/* -*- C++ -*- */
// $Id$
// ==========================================================================
//
// = LIBRARY
//   orbsvcs
//
// = FILENAME
//   NotifySubscribe_i.h
//
// = DESCRIPTION
//
//
// = AUTHOR
//    Pradeep Gore <pradeep@cs.wustl.edu>
//
// ==========================================================================

// @@ Pradeep: please make sure that you use unique names for these
// #define, for example TAO_NOTIFY_NOTIFY_SUBSCRIBE_H...

#ifndef NOTIFYSUBSCRIBE_H
#define NOTIFYSUBSCRIBE_H

#include "orbsvcs/orbsvcs/CosNotifyCommS.h"

// @@ Pradeep: be consistent with your use of #pragma once and similar
// things!

// @@ Pradeep: it seems like this is not implemented, could you please
// add a comment stating so? Or is this something that the application
// must provide.  If the latter, then why do you implement one?

class TAO_ORBSVCS_Export TAO_NotifySubscribe_i : public virtual POA_CosNotifyComm::NotifySubscribe
{
  // = TITLE
  //   TAO_NotifySubscribe_i
  // = DESCRIPTION
  //
  //

public:
  //Constructor
  TAO_NotifySubscribe_i (void);

  //Destructor
  virtual ~TAO_NotifySubscribe_i (void);

virtual void subscription_change (
    const CosNotification::EventTypeSeq & added,
    const CosNotification::EventTypeSeq & removed,
    CORBA::Environment &ACE_TRY_ENV
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    CosNotifyComm::InvalidEventType
  ));

};

#endif /* NOTIFYSUBSCRIBE_H */