|
Mixes for Privacy and Anonymity in the Internet
|
This class (interface) adds the functionality used by last and middle mixes to detecte replays. More...
Public Member Functions | |
| CAMixWithReplayDB () | |
| CADatabase * | getReplayDB () 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 () |
| CAControlChannelDispatcher * | getDownstreamControlChannelDispatcher () const |
| CAControlChannelDispatcher * | getUpstreamControlChannelDispatcher () const |
| UINT32 | getLastConnectionTime () |
| bool | isConnected () |
Public Attributes | |
| UINT64 | m_u64ReferenceTime |
Protected Attributes | |
| CADatabase * | m_pReplayDB |
| CAReplayCtrlChannelMsgProc * | m_pReplayMsgProc |
Protected Attributes inherited from CAMix | |
| volatile bool | m_bLoop |
| bool | m_bReconfiguring |
| volatile bool | m_bShutDown |
| CAMultiSignature * | m_pMultiSignature |
| CAInfoService * | m_pInfoService |
| UINT32 | m_u32KeepAliveRecvInterval |
| UINT32 | m_u32KeepAliveSendInterval |
| bool | m_acceptReconfiguration |
| volatile bool | m_bConnected |
| volatile UINT32 | m_lLastConnectionTime |
| XERCES_CPP_NAMESPACE::DOMDocument * | m_docMixCascadeInfo |
| CAControlChannelDispatcher * | m_pMuxOutControlChannelDispatcher |
| CAControlChannelDispatcher * | m_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) |
This class (interface) adds the functionality used by last and middle mixes to detecte replays.
| CAMixWithReplayDB::CAMixWithReplayDB | ( | ) |
References m_pReplayDB, m_pReplayMsgProc, and m_u64ReferenceTime.
| CADatabase* CAMixWithReplayDB::getReplayDB | ( | ) | const |
References m_pReplayDB.
|
protected |
Referenced by CAMixWithReplayDB(), getReplayDB(), CAFirstMix::init(), CAMiddleMix::init(), CAFirstMixA::loop(), CALastMixA::loop(), and CALastMixB::loop().
|
protected |
| UINT64 CAMixWithReplayDB::m_u64ReferenceTime |