Codec functions to implement
EventCodec.h provides the definition for a number of functions whose implementation needs to be provided by the event transport author.
However, in contrast to the Transport Layer Plug-in Development Specification, the set of functions that need to be implemented varies depending on whether the codec is to implement only a message decoder, only a message encoder, or a bidirectional encoder/decoder.
In all cases, implementations need to be provided for the following functions:
updateProperties getLastError getStatus It is recommended that updateProperties is invoked by the codec constructor.
See the
AP_EventCodec_Functions structure in the
API Reference for C++ (Doxygen) for detailed information on these functions.