Indy 9
TModeType
See Also, Unit: IdNNTP
Indicates the mode for an NNTP connection.
TModeType = (mtStream, mtIHAVE, mtReader);
Unit
IdNNTP
Description
TModeType is an enumerated type used to represent the NNTP connection mode to be used by an NNTP client or server. Valid values for TModeType includes the following:

  • mtStream

  • mtIHAVE

  • mtReader

mtStream indicates that the NNTP connection supports a stream of forwarded NNTP messages. mtStream is used to send a group of articles to an NNTP server, or in server to server NNTP news distribution.

mtIHave that the NNTP connection wants to perform negotiated article transmissions for articles already posted to an NNTP host. mtIHave informs a server that an article is available, and if the server desires a copy of that article, it will return a response instructing the client to send the entire article. If the server does not want the article (if, for example, the server already has a copy of it), a response indicating that the article is not wanted will be returned.

mtReader is the NNTP connection mode normally used by NNTP clients (or news readers).

TModeType is the type used to represent the TIdNNTP.Mode property. Values in TModeType are used when the TIdNNTP.Connect is called to open the connection to the NNTP server and select the desired mode for the NNTP client.


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