Barracuda Application Server C/C++ Reference
HttpTraceWriteLock Struct Reference

Detailed Description

HttpTraceWriteLock is a C++ class that makes it easier to lock the trace by using method HttpTrace::getWriter and HttpTrace::releaseWriter.

The constructor calls getWriter and the desctructor calls releaseWriter.

#include <HttpTrace.h>

Public Member Functions

void release ()
 Release the trace if not already released.
void lock ()
 Lock the trace if not already locked.
 operator BufPrint * ()
 Operator that returns the BufPrint object.
BufPrintoperator-> ()
 Operator that makes it possible to do myLock->printf("hi");.