TProcessor

A processor is a generic object which operates upon an input stream and writes to some output stream.

The definition of this object is loose, though the typical case is for some sort of server that either generates responses to an input stream or forwards data from one pipe onto another.

An implementation can optionally allow one or more TProcessorEventHandlers to be attached, providing an interface to hook custom code into the handling process, which can be used e.g. for gathering statistics.

Members

Functions

process
bool process(TProtocol iprot, TProtocol oprot, Variant connectionContext)
process
bool process(TProtocol prot, Variant connectionContext)

Meta