Retail products


Traffic interception SDK

Control every TCP/IP network connection

  • Route connections via proxy
  • Redirect connections and modify the data
  • Block connections and applications
SSL interception SDK

View SSL in plaintext and modify it

  • View the SSL stream decrypted in plaintext
  • Redirect SSL connection and modify decrypted data
  • Browser shows "SSL lock" without warnings

Documentation


CBlockedBuffer::CBlockedBuffer::CBlockedData Class Reference

#include <BlockedBuffer.h>

Collaboration diagram for CBlockedBuffer::CBlockedBuffer::CBlockedData:

List of all members.


Public Member Functions

int GetNumberOfCalls () const
char * GetData () const
int GetDataSize () const
 CBlockedData (const char *pData, int iDataSize)
 CBlockedData (const CBlockedData &rData)
virtual ~CBlockedData ()

Detailed Description

Definition at line 56 of file BlockedBuffer.h.


Constructor & Destructor Documentation

CBlockedBuffer::CBlockedBuffer::CBlockedData::CBlockedData ( const char *  pData,
int  iDataSize 
) [inline]

Definition at line 78 of file BlockedBuffer.h.

00079                                     : m_pData(NULL),
00080                                       m_iDataSize(iDataSize),
00081                                       m_iCalls(1)
00082         {
00083             //Do we have data
00084             if (pData && 
00085                 m_iDataSize)
00086             {
00087                 //Allocate and copy
00088                 m_pData=new char[m_iDataSize];
00089                 memcpy(m_pData,
00090                        pData,
00091                        m_iDataSize);
00092             }
00093         }

CBlockedBuffer::CBlockedBuffer::CBlockedData::CBlockedData ( const CBlockedData rData  )  [inline]

Definition at line 95 of file BlockedBuffer.h.

00095                                                 : m_pData(NULL),
00096                                                   m_iDataSize(rData.m_iDataSize),
00097                                                   m_iCalls(rData.m_iCalls)
00098         {
00099             //Do we have data
00100             if (m_iDataSize && rData.m_pData)
00101             {
00102                 //Allocate and copy
00103                 m_pData=new char[m_iDataSize];
00104                 memcpy(m_pData,
00105                        rData.m_pData,
00106                        m_iDataSize);
00107             }
00108         }

virtual CBlockedBuffer::CBlockedBuffer::CBlockedData::~CBlockedData (  )  [inline, virtual]

Definition at line 110 of file BlockedBuffer.h.

00111         {
00112             //Delete the data
00113             delete [] m_pData;
00114         }


Member Function Documentation

char* CBlockedBuffer::CBlockedBuffer::CBlockedData::GetData (  )  const [inline]

Definition at line 66 of file BlockedBuffer.h.

00067         {
00068             return m_pData;
00069         }

int CBlockedBuffer::CBlockedBuffer::CBlockedData::GetDataSize (  )  const [inline]

Definition at line 72 of file BlockedBuffer.h.

00073         {
00074             return m_iDataSize;
00075         }

int CBlockedBuffer::CBlockedBuffer::CBlockedData::GetNumberOfCalls (  )  const [inline]

Definition at line 60 of file BlockedBuffer.h.

00061         {
00062             return ++m_iCalls;
00063         }


The documentation for this class was generated from the following file: