summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/Notify_Collection_Factory.h
blob: 64bd4e8e80b022a8dfb540650ee9b28bd811636b (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
/* -*- C++ -*- */
// $Id$
//
// ============================================================================
//
// = LIBRARY
//   ORBSVCS Notification
//
// = FILENAME
//   Notify_Collection_Factory.h
//
// = DESCRIPTION
//   A factory fpr the collection types used by Notify.
//
// = AUTHOR
//   Pradeep Gore <pradeep@cs.wustl.edu>
//
// ============================================================================

#ifndef NOTIFY_COLLECTION_FACTORY_H
#define NOTIFY_COLLECTION_FACTORY_H

#include "ace/pre.h"
#include "ace/Service_Object.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "notify_export.h"
#include "Notify_Collection.h"

class TAO_Notify_Export TAO_Notify_Collection_Factory : public ACE_Service_Object
{
  // = TITLE
  //   TAO_Notify_Collection_Factory
  //
  // = DESCRIPTION
  //   Collection factory
  //
public:
  // = Methods to create listener collections.
  virtual TAO_Notify_EventListener_List* create_event_listener_list (CORBA::Environment &ACE_TRY_ENV) = 0;
  // Create the event listener list.

 virtual TAO_Notify_UpdateListener_List* create_update_listener_list (CORBA::Environment &ACE_TRY_ENV) = 0;
  // create update listener list.
};

#include "ace/post.h"

#endif /* NOTIFY_COLLECTION_FACTORY_H */