reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
Store.hxx
Go to the documentation of this file.
1
#if !defined(REPRO_STORE_HXX)
2
#define REPRO_STORE_HXX
3
4
#include "
repro/AbstractDb.hxx
"
5
#include "
repro/UserStore.hxx
"
6
#include "
repro/RouteStore.hxx
"
7
#include "
repro/AclStore.hxx
"
8
#include "
repro/ConfigStore.hxx
"
9
#include "
repro/StaticRegStore.hxx
"
10
#include "
repro/FilterStore.hxx
"
11
#include "
repro/SiloStore.hxx
"
12
#include "
repro/TlsPeerIdentityStore.hxx
"
13
14
namespace
repro
15
{
16
class
AbstractDb;
17
20
class
Store
21
{
22
public
:
23
// If a seperate instance of AbstractDb is desired for the runtime database tables
24
// (ie. UserStore and SiloStore), then is can be provided, otherwise pass NULL.
25
// The Users and MessageSilo database tables are different from the other repro
26
// configuration database tables, in that they are accessed at runtime as SIP
27
// requests arrive. It may be desirable to use BerkeleyDb for the other repro
28
// tables (which are read at starup time, then cached in memory), and MySQL for
29
// the runtime accessed tables; or two seperate MySQL instances for these different
30
// table sets.
31
Store
(
AbstractDb
&
db
,
AbstractDb
*
runtimedb
=0);
32
~Store
();
33
34
UserStore
mUserStore
;
35
TlsPeerIdentityStore
mTlsPeerIdentityStore
;
36
RouteStore
mRouteStore
;
37
AclStore
mAclStore
;
38
ConfigStore
mConfigStore
;
39
StaticRegStore
mStaticRegStore
;
40
FilterStore
mFilterStore
;
41
SiloStore
mSiloStore
;
42
private
:
43
};
44
45
}
46
#endif
47
48
/* ====================================================================
49
* The Vovida Software License, Version 1.0
50
*
51
* Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
52
*
53
* Redistribution and use in source and binary forms, with or without
54
* modification, are permitted provided that the following conditions
55
* are met:
56
*
57
* 1. Redistributions of source code must retain the above copyright
58
* notice, this list of conditions and the following disclaimer.
59
*
60
* 2. Redistributions in binary form must reproduce the above copyright
61
* notice, this list of conditions and the following disclaimer in
62
* the documentation and/or other materials provided with the
63
* distribution.
64
*
65
* 3. The names "VOCAL", "Vovida Open Communication Application Library",
66
* and "Vovida Open Communication Application Library (VOCAL)" must
67
* not be used to endorse or promote products derived from this
68
* software without prior written permission. For written
69
* permission, please contact vocal@vovida.org.
70
*
71
* 4. Products derived from this software may not be called "VOCAL", nor
72
* may "VOCAL" appear in their name, without prior written
73
* permission of Vovida Networks, Inc.
74
*
75
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
76
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
77
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
78
* NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA
79
* NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
80
* IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
81
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
82
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
83
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
84
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
85
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
86
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
87
* DAMAGE.
88
*
89
* ====================================================================
90
*/
AbstractDb.hxx
AclStore.hxx
ConfigStore.hxx
FilterStore.hxx
RouteStore.hxx
SiloStore.hxx
StaticRegStore.hxx
TlsPeerIdentityStore.hxx
UserStore.hxx
repro::AbstractDb
Definition
AbstractDb.hxx:19
repro::AclStore
Definition
AclStore.hxx:15
repro::ConfigStore
Definition
ConfigStore.hxx:15
repro::FilterStore
Definition
FilterStore.hxx:23
repro::RouteStore
Definition
RouteStore.hxx:20
repro::SiloStore
Definition
SiloStore.hxx:18
repro::StaticRegStore
Definition
StaticRegStore.hxx:14
repro::Store
The Store contains differnt types of stores such as user, route, etc.
Definition
Store.hxx:21
repro::Store::mFilterStore
FilterStore mFilterStore
Definition
Store.hxx:40
repro::Store::mAclStore
AclStore mAclStore
Definition
Store.hxx:37
repro::Store::mConfigStore
ConfigStore mConfigStore
Definition
Store.hxx:38
repro::Store::~Store
~Store()
Definition
Store.cxx:29
repro::Store::mTlsPeerIdentityStore
TlsPeerIdentityStore mTlsPeerIdentityStore
Definition
Store.hxx:35
repro::Store::mStaticRegStore
StaticRegStore mStaticRegStore
Definition
Store.hxx:39
repro::Store::mRouteStore
RouteStore mRouteStore
Definition
Store.hxx:36
repro::Store::mUserStore
UserStore mUserStore
Definition
Store.hxx:34
repro::Store::mSiloStore
SiloStore mSiloStore
Definition
Store.hxx:41
repro::TlsPeerIdentityStore
Definition
TlsPeerIdentityStore.hxx:21
repro::UserStore
Definition
UserStore.hxx:21
repro
This Class is used to implement a primitive form of RPC using loose XML formatting.
Definition
AbstractDb.hxx:16
list
void list()
Definition
userAdmin.cxx:66
repro
Store.hxx
Generated by
1.9.8