Indy 9
|
TIdMessageEncoderInfo = class(TObject)
Descendant classes, like TIdMessageEncoderInfoMIME, TIdMessageEncoderInfoUUE, and TIdMessageEncoderInfoXXE, should reimplement the virtual methods in TIdMessageEncoderInfo to provide support for assigning the correct MessageEncoderClass class type and InitializeHeaders values for the specific encoder.
property MessageEncoderClass: TIdMessageEncoderClass;
MessageEncoderClass is assigned a class type instance in the Create Constructor for a specific encoder class. MessageCoderClass is used accesed when TIdMessagePart descendants call their Encode method. A new instance of the registerd encoder class is created, and used to perform the encoding operation.
constructor Create; virtual;
procedure InitializeHeaders(AMsg: TIdMessage); virtual;