Indy 9
TIdSMTPServerThread
Hierarchy, Properties, Methods, Events, See Also, Unit: IdSMTPServer
Implements a thread of execution for SMTP client connections.
TIdSMTPServerThread = class(TIdPeerThread)
Unit
IdSMTPServer
Description
TIdSMTPServerThread is a TIdPeerThread that specifies properties and method needed to implement a thread of execution for SMTP client connections in the multi-threaded SMTP server.

TIdSMTPServerThread implements properties that indicate the current connection and transaction state for the peer connection including the From, HELO, and RCPTList properties.

TIdSMTPServerThread is assigned to TIdSMTPServer.ThreadClass, and represents the class instance used for constructing new threads for connections accepted in the in the listener thread.

TIdSMTPServerThread is used in TIdCommand to provide the peer connection thread context an executing command handler. TIdSMTPServerThread is also used in the various procedures that implement the actions performed by command handlers, including CommandData, CommandMail, CommandRcpt, CommandRSET, CommandHELO, and CommandEHLO.


TIdSMTPServerThread.Create
TIdSMTPServerThread, See Also
Constructor for the object instance.
constructor Create(ACreateSuspended: Boolean = True); override;
Description
Create is the constructor for the object instance, and calls the inherited Create method. Create also allocates the TIdEMailAddressList needed to represent the RCPTList property.

TIdSMTPServerThread.Destroy
TIdSMTPServerThread, See Also
Frees the object instance.
destructor Destroy; override;
Description
Destroy is the destructor for the object instance. Destroy is reponsible for frees resources allocated in the Create constructor, and calls the the inherited Destroy method.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.