iipsrv 1.3
iipsrv is an advanced high-performance feature-rich image server for web-based streamed viewing and zooming of ultra high-resolution images
FCGIWriter Class Reference

FCGI Writer Class. More...

#include <Writer.h>

Public Member Functions

 FCGIWriter (FCGX_Stream *o)
 Constructor.
 
 ~FCGIWriter ()
 Destructor.
 
int putStr (const char *msg, int len)
 Add the message to our buffer.
 
int putS (const char *msg)
 Write out a string using puts()
 
int printf (const char *msg)
 Write out a string using printf()
 
int flush ()
 Flush the output buffer.
 

Public Attributes

char * buffer
 Buffer.
 
size_t sz
 Size of buffer.
 

Detailed Description

FCGI Writer Class.

Constructor & Destructor Documentation

◆ FCGIWriter()

FCGIWriter::FCGIWriter ( FCGX_Stream *  o)
inline

Constructor.

Parameters
oFCGI stream pointer

References buffer, and sz.

Member Function Documentation

◆ flush()

int FCGIWriter::flush ( )
inline

Flush the output buffer.

Returns
0 = success, 1 = fail

Referenced by TIL::run(), SPECTRA::run(), PFL::run(), CVT::send(), and JTL::send().

◆ printf()

int FCGIWriter::printf ( const char *  msg)
inline

Write out a string using printf()

Parameters
msgmessage string
Returns
number of bytes written

◆ putS()

int FCGIWriter::putS ( const char *  msg)
inline

Write out a string using puts()

Parameters
msgmessage string
Returns
number of bytes written

Referenced by TIL::run(), SPECTRA::run(), and CVT::send().

◆ putStr()

int FCGIWriter::putStr ( const char *  msg,
int  len 
)
inline

Add the message to our buffer.

Parameters
msgmessage string
lenmessage length in bytes
Returns
number of bytes written

Referenced by TIL::run(), Zoomify::run(), SPECTRA::run(), PFL::run(), DeepZoom::run(), IIIF::run(), CVT::send(), and JTL::send().


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