Mixe for Privacy and Anonymity in the Internet
CAMixWithReplayDB.hpp
Go to the documentation of this file.
1
/*
2
Copyright (c) 2000, The JAP-Team
3
All rights reserved.
4
Redistribution and use in source and binary forms, with or without modification,
5
are permitted provided that the following conditions are met:
6
7
- Redistributions of source code must retain the above copyright notice,
8
this list of conditions and the following disclaimer.
9
10
- Redistributions in binary form must reproduce the above copyright notice,
11
this list of conditions and the following disclaimer in the documentation and/or
12
other materials provided with the distribution.
13
14
- Neither the name of the University of Technology Dresden, Germany nor the names of its contributors
15
may be used to endorse or promote products derived from this software without specific
16
prior written permission.
17
18
19
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS
20
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
21
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS
22
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
24
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
27
*/
28
29
#ifndef _CA_MIX_WITH_REPLAY_DB_
30
#define _CA_MIX_WITH_REPLAY_DB_
31
#ifndef ONLY_LOCAL_PROXY
32
#include "
CADatabase.hpp
"
33
#include "
CAReplayCtrlChannelMsgProc.hpp
"
34
#include "
CAMix.hpp
"
35
36
// REPLAY_BASE defines the timebase of the replay-DBs e.g. if it is set to 1 the the base is 1 second
37
#define REPLAY_BASE 1
38
40
class
CAMixWithReplayDB
:
public
CAMix
41
{
42
public
:
43
CAMixWithReplayDB
();
44
CADatabase
*
getReplayDB
()
const
45
{
46
return
m_pReplayDB
;
47
}
48
49
UINT64
m_u64ReferenceTime
;
50
51
protected
:
52
CADatabase
*
m_pReplayDB
;
53
CAReplayCtrlChannelMsgProc
*
m_pReplayMsgProc
;
54
};
55
#endif
//_CA_MIX_WITH_REPLAY_DB_
56
#endif
//ONLY_LOCAL_PROXY
CADatabase.hpp
CAMix.hpp
CAReplayCtrlChannelMsgProc.hpp
CADatabase
Definition:
CADatabase.hpp:54
CAMix
Definition:
CAMix.hpp:49
CAMixWithReplayDB
This class (interface) adds the functionality used by last and middle mixes to detecte replays.
Definition:
CAMixWithReplayDB.hpp:41
CAMixWithReplayDB::m_u64ReferenceTime
UINT64 m_u64ReferenceTime
Definition:
CAMixWithReplayDB.hpp:49
CAMixWithReplayDB::m_pReplayDB
CADatabase * m_pReplayDB
Definition:
CAMixWithReplayDB.hpp:52
CAMixWithReplayDB::getReplayDB
CADatabase * getReplayDB() const
Definition:
CAMixWithReplayDB.hpp:44
CAMixWithReplayDB::CAMixWithReplayDB
CAMixWithReplayDB()
Definition:
CAMixWithReplayDB.cpp:32
CAMixWithReplayDB::m_pReplayMsgProc
CAReplayCtrlChannelMsgProc * m_pReplayMsgProc
Definition:
CAMixWithReplayDB.hpp:53
CAReplayCtrlChannelMsgProc
Definition:
CAReplayCtrlChannelMsgProc.hpp:38
__UINT64__t_
Definition:
basetypedefs.h:143
Generated on Sat Jul 22 2023 00:20:08 for Mixe for Privacy and Anonymity in the Internet by
1.9.1