Indicates the result of changing the mode for the NNTP client connection.
TModeSetResult is an enumerated type used to indicate the result from a request to change the mode for the NNTP client connection. TModeSetResult is the type used to represent the TIdNNTP.ModeResult property, and is normally updated in methods that establish an NNTP connection, or prepare a connection for transmission of articles.
Valid result values for a change to NNTP mode include the following:
Value |
Meaning |
mrCanStream |
Connection can send multiple articles. |
mrNoStream |
Connection cannot send multiple articles. |
mrCanIHAVE |
Connection can perform negotiated article exchange. |
mrNoIHAVE |
Connection cannot perform negotiated article exchange. |
mrCanPost |
Connection can post new articles. |
mrNoPost |
Connection cannot post new articles. |
TModeType determines the range of valid TModeSetResult values that can apply to the NNTP connection. For example:
ModeType |
ModeSetResult |
mtStream |
mrCanStream, mrNoStream |
mtIHAVE |
mrCanIHAVE, mrNoIHAVE |
mtReader |
mrCanPost, mrNoPost |
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. |