Internet Direct (Indy) Version 9.0.1 Beta
TIdNNTPServer
TIdNNTPServer = class(TIdTCPServer)
Description
TIdNNTPServer is a TIdTCPServer descendant that provides a framework for implementing a server based on the Network News Transfer Protocol (NNTP) as described in the Internet Standards documents:

TIdNNTPServer is used for distributing messages publicly to central locations on a network. TIdNNTPServer is based on the formats, control messages, transmission methods, and propagtion algorithms defined in the Internet Standards document:

TIdNNTPServer also incorporates the syntax for text-based messages as defined in the Internet Standards document:

TIdNNTPServer provides a dual implementation capability, mirroring the options available in TIdTCPServer, using the TIdTCPServer.OnExecute event handler or through the use of the TIdCommandHandlers collection.

When using TIdCommandHandlers, TIdNNTPServer provides OnCommandXXX command event handlers to respond to the following NNTP commands and extensions:

TIdNNTPServer does NOT provide an implementation of the command event handler methods. This architecture allows the NNTP server implementation to determine the storage mechanism used for NNTP groups, articles, and overview databases, as well as the processes performed in responding to NNTP commands.