Apama 10.15.0 | Connecting Apama Applications to External Components | Working with IAF Plug-ins | C/C++ Codec Plug-in Development | The C/C++ codec plug-in development specification | Codec functions to implement
 
Codec functions to implement
 
Codec encoder functions
Codec decoder functions
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.