Indy 9 | Content | Index | Reference

TEventNewsgroupList
See Also, Unit: IdNNTP
Event type signalled for a newsgroup information in a LIST or NEWGROUPS response.

    TEventNewsgroupList = procedure (const ANewsgroup: string; const ALow, AHigh: Integer; const AType: string; var ACanContinue: Boolean) of object;

Unit
IdNNTP
Parameters
ACanContinue
True to continue. False halts newsgroup list retrieval.
AHigh
Highest index number for an available article.
ALow
Lowest index number for an available article.
ANewsgroup
Name of the newsgroup.
AType
Newsgroup posting status.
Description
TEventNewsgroupList is an event type triggered when newsgroup information is received in a response to the NNTP LIST or NEWGROUPS command. TEventNewsgroupList 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.

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