Mixe for Privacy and Anonymity in the Internet
|
This class implements the pool strategie of a Mix. More...
#include <CAPool.hpp>
Public Member Functions | |
CAPool (UINT32 poolsize) | |
~CAPool () | |
SINT32 | pool (tPoolEntry *pPoolEntry) |
Private Attributes | |
tPoolListEntry * | m_pPoolList |
tPoolListEntry * | m_pLastEntry |
tPoolListEntry * | m_pEntry |
HCHANNEL * | m_arChannelIDs |
UINT32 | m_uPoolSize |
UINT32 | m_uRandMax |
This class implements the pool strategie of a Mix.
See [Message Pool] for more information.
Definition at line 42 of file CAPool.hpp.
CAPool::CAPool | ( | UINT32 | poolsize | ) |
Definition at line 33 of file CAPool.cpp.
References t_MixPacket::channel, CHANNEL_DUMMY, t_MixPacket::data, DATA_SIZE, DUMMY_CHANNEL, t_MixPacket::flags, getRandom(), m_arChannelIDs, m_pEntry, m_pLastEntry, m_pPoolList, m_uPoolSize, m_uRandMax, t_pool_list::next, t_queue_entry::packet, t_pool_list::poolentry, and setZero64().
CAPool::~CAPool | ( | ) |
Definition at line 67 of file CAPool.cpp.
References m_arChannelIDs, m_pEntry, m_pPoolList, and t_pool_list::next.
SINT32 CAPool::pool | ( | tPoolEntry * | pPoolEntry | ) |
Definition at line 83 of file CAPool.cpp.
References t_MixPacket::channel, E_SUCCESS, getRandom(), m_arChannelIDs, m_pEntry, m_pLastEntry, m_pPoolList, m_uPoolSize, m_uRandMax, t_pool_list::next, t_queue_entry::packet, and t_pool_list::poolentry.
|
private |
Definition at line 54 of file CAPool.hpp.
|
private |
Definition at line 53 of file CAPool.hpp.
|
private |
Definition at line 52 of file CAPool.hpp.
|
private |
Definition at line 51 of file CAPool.hpp.
|
private |
Definition at line 55 of file CAPool.hpp.
|
private |
Definition at line 56 of file CAPool.hpp.