Mixes for Privacy and Anonymity in the Internet
Public Member Functions | Private Attributes | List of all members
CAReplayControlChannel Class Reference

A Control channel for the exchange of the current replay detection timestamps. More...

Inheritance diagram for CAReplayControlChannel:
CASyncControlChannel CAAbstractControlChannel

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 CAReplayCtrlChannelMsgProcm_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
UINT8m_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
CAControlChannelDispatcherm_pDispatcher
 
bool m_bIsEncrypted
 
UINT32 m_ID
 

Detailed Description

A Control channel for the exchange of the current replay detection timestamps.

Constructor & Destructor Documentation

◆ CAReplayControlChannel()

CAReplayControlChannel::CAReplayControlChannel ( const CAReplayCtrlChannelMsgProc pProcessor)

References m_pProcessor, and CAMsg::printMsg().

◆ ~CAReplayControlChannel()

CAReplayControlChannel::~CAReplayControlChannel ( void  )
virtual

Member Function Documentation

◆ processXMLMessage()

SINT32 CAReplayControlChannel::processXMLMessage ( const XERCES_CPP_NAMESPACE::DOMDocument *  doc)
virtual

Member Data Documentation

◆ m_pProcessor

const CAReplayCtrlChannelMsgProc* CAReplayControlChannel::m_pProcessor
private