Internet Direct (Indy) Version 9.0.1 Beta
|
class procedure RegisterDecoder(const AMessageCoderName: string; AMessageCoderInfo: TIdMessageDecoderInfo);
RegisterDecoder checks to make sure that the list for registered decoder classes has been initalized to an instance of TIdMessageDecoderList. RegisterDecoder then adds the decoder information in AMessageCoderInfo to the list with the name specified in AMessageCoderName.
RegisterDecoder is called in the initialization section of the unit that contains the decoder class, like IdMessageCoderMIME.pas, IdMessageCoderUUE.pas, and IdMessageCoderXXE.pas.