Indy 9
TIdNNTPThread
Hierarchy, Properties, Methods, Events, See Also, Unit: IdNNTPServer
Represents a client connection in an NNTP server implementation.
TIdNNTPThread = class(TIdPeerThread)
Unit
IdNNTPServer
Description
TIdNNTPThread is a TIdPeerThread descendant that represents a threaded client connection for the multithreaded NNTP server. TIdNNTPThread contains properties that represent state information for the NNTP client, including CurrentArticle, CurrentGroup, and ModeReader. TIdNNTPThread is used an argument to both general and command event handlers in an NNTP server implementation.

TIdNNTPThread.Authenticated
TIdNNTPThread
property Authenticated: Boolean;
Description
Authenticated

TIdNNTPThread.CurrentArticle
TIdNNTPThread, See Also
Represents the currently selected article number in the active newsgroup.
property CurrentArticle: Integer;
Description
CurrentArticle is a read-only Integer property that represents the message number selected in CurrentGroup. CurrentArticle is updated when a threaded NNTP client selects a newsgroup or retrieves an article.

TIdNNTPThread.CurrentGroup
TIdNNTPThread, See Also
Currently active newsgroup for the threaded NNTP client connection.
property CurrentGroup: string;
Description
CurrentGroup is a read-only String property that indicates the active newsgroup for a threaded NNTP client connection. CurrentGroup is updated when the TIdCommandHandler for the NNTP ARTICLE command is triggered during execution of the threaded NNTP client connection.

TIdNNTPThread.ModeReader
TIdNNTPThread, See Also
Indicates the threaded client connection is in reader mode.
property ModeReader: Boolean;
Description
ModeReader is a Boolean property that indicates the threaded NNTP client connection is using Newsreader mode instead of command streaming. ModeReader is updated an NNTP server responds to the TIdCommandHandler used for the NNTP MODE READER command.

TIdNNTPThread.Password
TIdNNTPThread
property Password: string;
Description
Password

TIdNNTPThread.UserName
TIdNNTPThread
property UserName: string;
Description
UserName

TIdNNTPThread.Create
TIdNNTPThread, See Also
Constructor for the object instance.
constructor Create(ACreateSuspended: Boolean = True); override;
Description
Create is the constructor for the object instance. Create calls the inherited Create method using ACreateSuspended to set the initial thread state. Create also sets the default value for the CurrentArticle indicator to 0.

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