Indy 9 | Content | Index | Reference

TModeSetResult
See Also, Unit: IdNNTP
Indicates the result of changing the mode for the NNTP client connection.

    TModeSetResult = (mrCanStream, mrNoStream, mrCanIHAVE, mrNoIHAVE, mrCanPost, mrNoPost);

Unit
IdNNTP
Description
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:

- 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:

- mtStream - mrCanStream, mrNoStream

- mtIHAVE - mrCanIHAVE, mrNoIHAVE

- mtReader - mrCanPost, mrNoPost

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