In file /home/eternity/Source/Mix/Padder/H/padder.h:

class Padder : public Runable, public MixOffspring, public Schedulable, public Shutdownable

Mix traffic padder

Inheritance:

Padder < Runable < Debugable

Padder < MixOffspring

Padder < Schedulable

Padder < Shutdownable


Public Methods

Padder::Padder (Mix * parent, LogFile *padderLogFile)
Padder constructor
void* Padder::Run (void *)
Padds the stream of chunks that goes through the Mix
void Padder::Shutdown ()
Prepare for clean shutdown
Padder::~Padder ()
Padder destructor

Public

attributes
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()

Inherited from MixOffspring:

Public Methods

MixOffspring::MixOffspring(Mix * mix)

Inherited from Schedulable:


Inherited from Shutdownable:

Public Methods

Shutdownable::Shutdownable(Killer * killer)

Documentation

Mix traffic padder. Pads the traffic (generates additional messages, delays despatching messages, ...) All these techniques make traffic analysis harder.
attributes

methods

Padder::Padder(Mix * parent, LogFile *padderLogFile)
Padder constructor. Initializes himself with some information taken from the config file.
Parameters:
parent - Mix object.
padderLogFile - Log file.
Author:
Venca
See Also:
padding discussion, traffic analysis discussion, ~Padder()

void* Padder::Run(void *)
Padds the stream of chunks that goes through the Mix. Simple strategy (the simpler, the best -> see unix...) for now.
Author:
Venca
See Also:
discussion on padding generation, traffic analysis discussion

void Padder::Shutdown()
Prepare for clean shutdown. This method should implement all the tasks necessary for preparation for a clean shutdown like saving inconsistent data to disk etc. Now it is empty as Padder is completely stateless as the loss of some partially received messages is not fatal to the system.
Returns:
void
Author:
Venca
See Also:
Shutdownable, Killer

Padder::~Padder()
Padder destructor. Does nothing for now, since Padder is stateless.
Author:
Venca


This class has no child classes.
Author:
Pechy, Venca
See Also:
PaddingGenerator

alphabetic index hierarchy of classes


generated by doc++