Internet Direct (Indy)
Home
PreviousUpNext
TIdIOHandlerStreamMsg Class

Implements a stream-aware IOHandler used to capture RFC 2822-compliant messages.

Pascal
TIdIOHandlerStreamMsg = class(TIdIOHandlerStream);

TIdIOHandlerStreamMsg is a TIdIOHandlerStream descendant that implements a stream-aware IOHandler used to capture RFC 2822-compliant messages. 

TIdIOHandlerStreamMsg extends the ancestor class by implementing properties and methods needed to read data from the stream data source, and to detect when the RFC 2822-compliant message was properly terminated during receipt. 

TIdIOHandlerStreamMsg is used in the implementation of the TIdMessageClient.ProcessMessage method, and isolates the differences between loading a message from a file and loading a message from and incoming TCP stream.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.