Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::ChunkingWriter Class Reference

#include "chunking_writer.h"

Inheritance diagram for net_instaweb::ChunkingWriter:
net_instaweb::Writer

Public Member Functions

 ChunkingWriter (Writer *writer, int flush_limit)
 
virtual bool Write (const StringPiece &str, MessageHandler *handler)
 
virtual bool Flush (MessageHandler *handler)
 
- Public Member Functions inherited from net_instaweb::Writer
virtual bool Dump (Writer *writer, MessageHandler *message_handler)
 

Detailed Description

Wraps around an another writer forcing periodic flushes, and making sure writes are not too long.

Constructor & Destructor Documentation

net_instaweb::ChunkingWriter::ChunkingWriter ( Writer writer,
int  flush_limit 
)

This writer will force a flush every flush_limit bytes. If the flush_limit is <= 0 no extra flushing will be performed. This does NOT take ownership of passed-in writer.


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