Mixes for Privacy and Anonymity in the Internet
|
A Control channel for the exchange of the current replay detection timestamps. More...
Public Member Functions | |
CAReplayControlChannel (const CAReplayCtrlChannelMsgProc *pProcessor) | |
virtual | ~CAReplayControlChannel (void) |
virtual SINT32 | processXMLMessage (const XERCES_CPP_NAMESPACE::DOMDocument *doc) |
Reads incoming replay timestamps or timestamp requests and delegates them to the associated CAReplayCtrlChannelMsgProc. 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 | |
const CAReplayCtrlChannelMsgProc * | m_pProcessor |
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 |
A Control channel for the exchange of the current replay detection timestamps.
CAReplayControlChannel::CAReplayControlChannel | ( | const CAReplayCtrlChannelMsgProc * | pProcessor | ) |
References m_pProcessor, and CAMsg::printMsg().
|
virtual |
|
virtual |
Reads incoming replay timestamps or timestamp requests and delegates them to the associated CAReplayCtrlChannelMsgProc.
Implements CASyncControlChannel.
References E_SUCCESS, E_UNKNOWN, equals(), getDOMChildByName(), getDOMElementAttribute(), getDOMElementValue(), m_pProcessor, CAMsg::printMsg(), CAReplayCtrlChannelMsgProc::proccessGetTimestamp(), and CAReplayCtrlChannelMsgProc::proccessGotTimestamp().
|
private |
Referenced by CAReplayControlChannel(), and processXMLMessage().