Mixes for Privacy and Anonymity in the Internet
Public Member Functions | Private Attributes
CAAccountingControlChannel Class Reference

implementation of a per-user control-channel for the AccountingInstance. More...

Inheritance diagram for CAAccountingControlChannel:
CASyncControlChannel CAAbstractControlChannel

List of all members.

Public Member Functions

 CAAccountingControlChannel (fmHashTableEntry *pHashEntry)
 Creates a new accounting controlchannel and stores a pointer to this in the pHashEntry.
virtual ~CAAccountingControlChannel ()
SINT32 processXMLMessage (const XERCES_CPP_NAMESPACE::DOMDocument *a_doc)
 processMessage - receives an XML msg and appends it to the AI message queue where it will be processed asynchronously

Private Attributes

fmHashTableEntrym_pHashEntry

Detailed Description

implementation of a per-user control-channel for the AccountingInstance.

All incoming messages are appended to the AccountingInstance queue where they are processed in an own thread.

Author:
Bastian Voigt

Constructor & Destructor Documentation

Creates a new accounting controlchannel and stores a pointer to this in the pHashEntry.

References E_SUCCESS, CAAccountingInstance::initTableEntry(), m_pHashEntry, t_fmhashtableentry::pAccountingInfo, t_accountinginfo::pControlChannel, and CAMsg::printMsg().


Member Function Documentation

SINT32 CAAccountingControlChannel::processXMLMessage ( const XERCES_CPP_NAMESPACE::DOMDocument *  a_doc) [virtual]

processMessage - receives an XML msg and appends it to the AI message queue where it will be processed asynchronously

Implements CASyncControlChannel.

References m_pHashEntry, CAMsg::printMsg(), and CAAccountingInstance::processJapMessage().


Member Data Documentation