|
Mixe for Privacy and Anonymity in the Internet
|
#include <CALastMixBChannelList.hpp>
Public Member Functions | |
| CALastMixBChannelList () | |
| ~CALastMixBChannelList () | |
| t_lastMixBChannelListEntry * | add (HCHANNEL a_channelId, CASymChannelCipher *a_channelCipher, CAChain *a_associatedChain) |
| t_lastMixBChannelListEntry * | get (HCHANNEL a_channelId) |
| void | removeFromTable (t_lastMixBChannelListEntry *a_channelEntry) |
Private Member Functions | |
| t_lastMixBChannelListEntry * | getEntryInternal (HCHANNEL a_channelId) |
Private Attributes | |
| UINT32 | m_channelTableSize |
| t_lastMixBChannelListEntry ** | m_pChannelTable |
| CAMutex * | m_pMutex |
Definition at line 60 of file CALastMixBChannelList.hpp.
| CALastMixBChannelList::CALastMixBChannelList | ( | ) |
Definition at line 36 of file CALastMixBChannelList.cpp.
References m_channelTableSize, m_pChannelTable, and m_pMutex.
| CALastMixBChannelList::~CALastMixBChannelList | ( | ) |
| t_lastMixBChannelListEntry * CALastMixBChannelList::add | ( | HCHANNEL | a_channelId, |
| CASymChannelCipher * | a_channelCipher, | ||
| CAChain * | a_associatedChain | ||
| ) |
Definition at line 52 of file CALastMixBChannelList.cpp.
References t_lastMixBChannelListEntry::associatedChain, t_lastMixBChannelListEntry::associatedChannelList, t_lastMixBChannelListEntry::channelCipher, t_lastMixBChannelListEntry::channelId, t_lastMixBChannelListEntry::firstResponseDeadline, getEntryInternal(), CAMutex::lock(), m_channelTableSize, m_pChannelTable, m_pMutex, t_lastMixBChannelListEntry::rightEntry, t_lastMixBChannelListEntry::rightEntryPointerOfLeftEntry, and CAMutex::unlock().
Referenced by CALastMixB::loop().
| t_lastMixBChannelListEntry * CALastMixBChannelList::get | ( | HCHANNEL | a_channelId | ) |
Definition at line 94 of file CALastMixBChannelList.cpp.
References getEntryInternal(), CAMutex::lock(), m_pMutex, and CAMutex::unlock().
Referenced by CALastMixB::loop().
|
private |
Definition at line 103 of file CALastMixBChannelList.cpp.
References t_lastMixBChannelListEntry::channelId, m_pChannelTable, and t_lastMixBChannelListEntry::rightEntry.
Referenced by add(), and get().
| void CALastMixBChannelList::removeFromTable | ( | t_lastMixBChannelListEntry * | a_channelEntry | ) |
Definition at line 79 of file CALastMixBChannelList.cpp.
References t_lastMixBChannelListEntry::associatedChannelList, CAMutex::lock(), m_pMutex, t_lastMixBChannelListEntry::rightEntry, t_lastMixBChannelListEntry::rightEntryPointerOfLeftEntry, and CAMutex::unlock().
Referenced by CAChain::processDownstream(), and CAChain::~CAChain().
|
private |
Definition at line 70 of file CALastMixBChannelList.hpp.
Referenced by add(), and CALastMixBChannelList().
|
private |
Definition at line 71 of file CALastMixBChannelList.hpp.
Referenced by add(), CALastMixBChannelList(), getEntryInternal(), and ~CALastMixBChannelList().
|
private |
Definition at line 72 of file CALastMixBChannelList.hpp.
Referenced by add(), CALastMixBChannelList(), get(), removeFromTable(), and ~CALastMixBChannelList().