In file /home/eternity/Source/Mix/PaddingGenerator/H/paddingGenerator.h:

class PaddingGenerator : public Runable, public MixOffspring

Padding messages generator

Inheritance:

PaddingGenerator < Runable < Debugable

PaddingGenerator < MixOffspring


Public Methods

PaddingGenerator::PaddingGenerator (Mix * parent, LogFile * logFile)
PaddingGenerator constructor
void* PaddingGenerator::Run (void *)
The main loop for Padder thread
void PaddingGenerator::SendPaddingMessage ()
Send a padding message

Public

methods

Protected

methods

Inherited from Runable:

Public Methods

void Runable::MaskAllSignals()
Runable::Runable(LogFile * logFile)

Inherited from Debugable:

Public Methods

string* Debugable::CreateString(char *firstStr, int firstInt, int secondInt)
Debugable::Debugable(LogFile * debugLogFile)
int Debugable::SetDebugOptions(int newLogOptions)
void Debugable::SetLogFile(LogFile *aLogFile)
void Debugable::WriteString(LogLevel debugLevel, char * format, ...)
Debugable::~Debugable()

Public

attributes

int debugOptions
What messages should be logged
LogFile* logFile
Log file for debug messages

Inherited from MixOffspring:

Public Methods

MixOffspring::MixOffspring(Mix * mix)

Documentation

Padding messages generator. It just generates padding messages that are used to fill gaps between traffic peaks. Makes a reservoir of messages for Padder to send when there are no messages waiting.
methods

methods

PaddingGenerator::PaddingGenerator(Mix * parent, LogFile * logFile)
PaddingGenerator constructor. Saves parameters that gets.
Parameters:
parent - Pointer to Mix main object.
logFile - Log file.
Author:
Venca
See Also:
Padder, traffic analysis discussion

void* PaddingGenerator::Run(void *)
The main loop for Padder thread. In a loop, cycles and sends padding messages.
Returns:
void pointer
Parameters:
void - pointer
Author:
Venca
See Also:
Padder, traffic analysis discussion

void PaddingGenerator::SendPaddingMessage()
Send a padding message. Following a simple algorithm, creates and sends a padding message. The algoritm, though simple, is very powerful and hard to break by the enemy.
Returns:
void
Parameters:
void -
Author:
Venca
See Also:
Padder, traffic analysis discussion


This class has no child classes.
Author:
Venca
See Also:
Padder, traffic analysis discussion, padding discussion

alphabetic index hierarchy of classes


generated by doc++