Mixes for Privacy and Anonymity in the Internet
|
implementation of a per-user control-channel for the AccountingInstance. More...
Public Member Functions | |
CAAccountingControlChannel (fmHashTableEntry *pHashEntry) | |
Creates a new accounting controlchannel and stores a pointer to this in the pHashEntry. More... | |
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 More... | |
Public Member Functions inherited from CASyncControlChannel | |
CASyncControlChannel (UINT8 id, bool bIsEncrypted) | |
Constructor for a synchronized (e.g. More... | |
virtual | ~CASyncControlChannel () |
Public Member Functions inherited from CAAbstractControlChannel | |
CAAbstractControlChannel (UINT8 id, bool bIsEncrypted) | |
virtual | ~CAAbstractControlChannel () |
SINT32 | sendXMLMessage (const XERCES_CPP_NAMESPACE::DOMDocument *pDocMsg) const |
Call to send a XML message via this control channel. More... | |
SINT32 | sendXMLMessage (const UINT8 *msgXML, UINT32 msgLen) const |
Call to send a XML message via this control channel. More... | |
UINT32 | getID () const |
Returns the id of this control channel. More... | |
Private Attributes | |
fmHashTableEntry * | m_pHashEntry |
Additional Inherited Members | |
Protected Member Functions inherited from CASyncControlChannel | |
SINT32 | proccessMessage (const UINT8 *msg, UINT32 msglen) |
Processes some bytes of a message we got from the communication channel. More... | |
SINT32 | proccessMessageComplete () |
Parses the bytes in m_MsgBuff and calls processXMLMessage() More... | |
Protected Member Functions inherited from CAAbstractControlChannel | |
SINT32 | setDispatcher (CAControlChannelDispatcher *pDispatcher) |
Sets the Dispatcher. More... | |
Protected Attributes inherited from CASyncControlChannel | |
UINT8 * | m_MsgBuff |
buffer for assembling the parts of the message More... | |
UINT32 | m_aktIndex |
how much bytes have we received already? More... | |
UINT32 | m_MsgBytesLeft |
how much bytes we need until all bytes are received? More... | |
Protected Attributes inherited from CAAbstractControlChannel | |
CAControlChannelDispatcher * | m_pDispatcher |
bool | m_bIsEncrypted |
UINT32 | m_ID |
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.
CAAccountingControlChannel::CAAccountingControlChannel | ( | fmHashTableEntry * | pHashEntry | ) |
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().
|
virtual |
References CAAccountingInstance::cleanupTableEntry(), m_pHashEntry, and CAMsg::printMsg().
|
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().
|
private |
Referenced by CAAccountingControlChannel(), processXMLMessage(), and ~CAAccountingControlChannel().