Internet Direct (Indy)
Home
PreviousUpNext
TIdEvenTIdNewsgroupList Type

Event type signalled for a newsgroup information in a LIST or NEWGROUPS response.

Pascal
TIdEvenTIdNewsgroupList = procedure (ANewsgroup: string; ALow, AHigh: Integer; AType: string; var ACanContinue: Boolean) of object;
Parameters 
Description 
ANewsgroup 
Name of the newsgroup.
 
ALow 
Lowest index number for an available article.
 
AHigh 
Highest index number for an available article.
 
AType 
Newsgroup posting status.
 
ACanContinue 
True to continue. False halts newsgroup list retrieval. 

TIdEvenTIdNewsgroupList is an event type triggered when newsgroup information is received in a response to the NNTP LIST or NEWGROUPS command. TIdEvenTIdNewsgroupList is the type used to represent the TIdNNTP.OnNewsgroupList and TIdNNTP.OnNewGroupsList properties. 

ANewsgroup contains the name of the newsgroup. 

ALow and AHigh are integer indexes for messages available in the newsgroup. ALow indicates the message number for the oldest article currently in the newsgroup. AHigh indicates the message number for the most recent article currently in the newsgroup. Note: When AHigh contains a value less than ALow, there are no articles currently available in the newsgroup. 

AType is a string that represents the newsgroup posting status. AType will contain 'y' when posting to the newsgroup is allowed, or 'n' when posting is prohibited. Note: Some newsgroups may prohibit posting even when the posting status in AType contains 'y' because they are moderated or contain message digests, or have NNTP posting permissions restricted for the entire server.

OnNewsgroupList 

OnNewGroupsList 

GetNewsgroupList 

GetNewGroupsList

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.