Mixes for Privacy and Anonymity in the Internet
Public Member Functions | Public Attributes | Protected Attributes | List of all members
CAMixWithReplayDB Class Reference

This class (interface) adds the functionality used by last and middle mixes to detecte replays. More...

Inheritance diagram for CAMixWithReplayDB:
CAMix CAFirstMix CALastMix CAMiddleMix CAFirstMixA CAFirstMixB CALastMixA CALastMixB

Public Member Functions

 CAMixWithReplayDB ()
 
CADatabasegetReplayDB () const
 
- Public Member Functions inherited from CAMix
 CAMix ()
 
virtual ~CAMix ()
 
SINT32 start ()
 
virtual SINT32 reconfigure ()
 
virtual tMixType getType () const =0
 
virtual void shutDown ()
 
virtual bool isShutDown ()
 
SINT32 getMixCascadeInfo (XERCES_CPP_NAMESPACE::DOMDocument *&docMixCascadeInfo)
 Returns the Mix-Cascade info which should be send to the InfoService. More...
 
bool acceptsReconfiguration ()
 
CAControlChannelDispatchergetDownstreamControlChannelDispatcher () const
 
CAControlChannelDispatchergetUpstreamControlChannelDispatcher () const
 
UINT32 getLastConnectionTime ()
 
bool isConnected ()
 

Public Attributes

UINT64 m_u64ReferenceTime
 

Protected Attributes

CADatabasem_pReplayDB
 
CAReplayCtrlChannelMsgProcm_pReplayMsgProc
 
- Protected Attributes inherited from CAMix
volatile bool m_bLoop
 
bool m_bReconfiguring
 
volatile bool m_bShutDown
 
CAMultiSignaturem_pMultiSignature
 
CAInfoServicem_pInfoService
 
UINT32 m_u32KeepAliveRecvInterval
 
UINT32 m_u32KeepAliveSendInterval
 
bool m_acceptReconfiguration
 
volatile bool m_bConnected
 
volatile UINT32 m_lLastConnectionTime
 
XERCES_CPP_NAMESPACE::DOMDocument * m_docMixCascadeInfo
 
CAControlChannelDispatcherm_pMuxOutControlChannelDispatcher
 
CAControlChannelDispatcherm_pMuxInControlChannelDispatcher
 

Additional Inherited Members

- Public Types inherited from CAMix
enum  tMixType { FIRST_MIX , MIDDLE_MIX , LAST_MIX , JAP }
 
- Static Public Attributes inherited from CAMix
static const UINT32 TIMEOUT_MIX_CONNECTION_ESTABLISHEMENT = 60000
 
- Protected Member Functions inherited from CAMix
virtual SINT32 clean ()=0
 
virtual SINT32 initOnce ()
 
virtual SINT32 init ()=0
 
virtual SINT32 loop ()=0
 
SINT32 checkCompatibility (DOMNode *a_parent, const char *a_mixPosition)
 
SINT32 appendCompatibilityInfo (DOMNode *a_parent)
 
SINT32 addMixInfo (DOMNode *a_element, bool a_bForceFirstNode)
 
virtual SINT32 processKeyExchange ()=0
 
virtual SINT32 initMixCascadeInfo (DOMElement *elemMixes)
 This will initialize the XML Cascade Info struct XMLFirstMixToInfoService that is sent to the InfoService in CAInfoService::sendCascadeHelo() More...
 
SINT32 signXML (DOMNode *a_element)
 

Detailed Description

This class (interface) adds the functionality used by last and middle mixes to detecte replays.

Constructor & Destructor Documentation

◆ CAMixWithReplayDB()

CAMixWithReplayDB::CAMixWithReplayDB ( )

Member Function Documentation

◆ getReplayDB()

CADatabase* CAMixWithReplayDB::getReplayDB ( ) const

References m_pReplayDB.

Member Data Documentation

◆ m_pReplayDB

CADatabase* CAMixWithReplayDB::m_pReplayDB
protected

◆ m_pReplayMsgProc

CAReplayCtrlChannelMsgProc* CAMixWithReplayDB::m_pReplayMsgProc
protected

◆ m_u64ReferenceTime

UINT64 CAMixWithReplayDB::m_u64ReferenceTime