Security Scol plugin
Public Member Functions | Protected Member Functions | List of all members
LazyPutter Class Reference

Helper class to finalize Puts on ByteQueue. More...

#include <queue.h>

Inheritance diagram for LazyPutter:
LazyPutterModifiable

Public Member Functions

 LazyPutter (ByteQueue &bq, const byte *inString, size_t size)
 Construct a LazyPutter.
 

Protected Member Functions

 LazyPutter (ByteQueue &bq)
 

Detailed Description

Helper class to finalize Puts on ByteQueue.

LazyPutter ensures LazyPut is committed to the ByteQueue in event of exception. During destruction, the LazyPutter class calls FinalizeLazyPut.

Definition at line 218 of file queue.h.

Constructor & Destructor Documentation

◆ ~LazyPutter()

virtual LazyPutter::~LazyPutter ( )
inlinevirtual

Definition at line 221 of file queue.h.

◆ LazyPutter() [1/2]

LazyPutter::LazyPutter ( ByteQueue bq,
const byte inString,
size_t  size 
)
inline

Construct a LazyPutter.

Parameters
bqthe ByteQueue
inStringa byte array to insert
sizethe length of the byte array

LazyPutter ensures LazyPut is committed to the ByteQueue in event of exception. During destruction, the LazyPutter class calls FinalizeLazyPut.

Definition at line 233 of file queue.h.

◆ LazyPutter() [2/2]

LazyPutter::LazyPutter ( ByteQueue bq)
inlineprotected

Definition at line 237 of file queue.h.


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