blob: 0abc936b92a13616b40a5f4fabd102569b6b19ff (
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
|
/* -*- C++ -*- */
//=============================================================================
/**
* @file Event_Persistence_Factory.h
*
* $Id$
*
* A factory class that creates a Routing_Slip_Persistence_Manager.
*
* @author Jonathan Pollack <pollack_j@ociweb.com>
*/
//=============================================================================
#ifndef EVENT_PERSISTENCE_FACTORY_H
#define EVENT_PERSISTENCE_FACTORY_H
#include /**/ "ace/pre.h"
#include "orbsvcs/Notify/notify_serv_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/Versioned_Namespace.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace TAO_Notify
{
class Routing_Slip_Persistence_Manager;
class Persistent_Callback;
/// interface to be implemented by specific Event_Persistence_Factories
class TAO_Notify_Serv_Export Event_Persistence_Factory
{
public:
virtual ~Event_Persistence_Factory();
/// Create a Persistence Manager
virtual Routing_Slip_Persistence_Manager *
create_routing_slip_persistence_manager (Persistent_Callback * callback) = 0;
/// Begin the reload process by returning the first Routing_Slip_Persistence_Manager
/// to continue call Routing_Slip_Persistence_Manager::load_next ()
virtual Routing_Slip_Persistence_Manager * first_reload_manager () = 0;
};
} // namespace TAO_Notify
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* EVENT_PERSISTENCE_FACTORY_H */
|