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


CBlockedThread Class Reference

#include <BlockedThread.h>

Collaboration diagram for CBlockedThread:

List of all members.


Classes

struct  _ThreadData

Public Member Functions

DWORD BlockedCall (CThreadPool::LPThreadDWORDPoolProc pProc, LPVOID lpData)
 CBlockedThread (CThreadPool::COMInit aInit=CThreadPool::ciNone)
virtual ~CBlockedThread ()

Detailed Description

Definition at line 48 of file BlockedThread.h.


Constructor & Destructor Documentation

KOMODIA_NAMESPACE_START CBlockedThread::CBlockedThread ( CThreadPool::COMInit  aInit = CThreadPool::ciNone  ) 

Definition at line 51 of file BlockedThread.cpp.

00051                                                        : m_pEvent(NULL)
00052 {
00053     //Create the thread pool
00054     m_pPool=new CThreadPool(1,
00055                             1,
00056                             NULL,
00057                             CGenericThread::tpNormal,
00058                             aInit);
00059 
00060     //Create the event
00061     m_pEvent=COSManager::CreateEvent();
00062 
00063 }

CBlockedThread::~CBlockedThread (  )  [virtual]

Definition at line 65 of file BlockedThread.cpp.

00066 {
00067     //Get rid of the things
00068     delete m_pPool;
00069     delete m_pEvent;
00070 }


Member Function Documentation

DWORD CBlockedThread::BlockedCall ( CThreadPool::LPThreadDWORDPoolProc  pProc,
LPVOID  lpData 
)

Definition at line 72 of file BlockedThread.cpp.

00074 {
00075     //Build our data
00076     ThreadData aData;
00077     aData.lpData=lpData;
00078     aData.pClass=this;
00079     aData.pEvent=m_pEvent;
00080     aData.pProc=pProc;
00081     aData.dwReturnValue=0;
00082 
00083     //Call the thread
00084     m_pPool->SubmitJob(ThreadProc,
00085                        (LPVOID)&aData);
00086 
00087     //Now wait
00088     m_pEvent->Wait();
00089 
00090     //Done
00091     return aData.dwReturnValue;
00092 }


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