Indy 9 | Content | Index | Reference

TIdQotdUDPServer
Hierarchy, Properties, Methods, Events, See Also, Unit: IdQOTDUDPServer
Defines an implementation framework for a Quote of the Day Protocol server.

    TIdQotdUDPServer = class(TIdUDPServer)

Unit
IdQOTDUDPServer
Description
TIdQotdUDPServer defines an implementation framework for a UDP-based Quote of the Day Protocol or QUOTD server as described in the Internet Standards document:

- RFC 865 - Quote of the Day Protocol (http://www.rfc-editor.org/rfc/rfc865.txt)

QUOTD is a simple protocol for retrieving a short quote from a server.

TIdQotdUDPServer.DefaultPort
TIdQotdUDPServer, See Also
Default port number for the server.

    property DefaultPort: integer;

Description
DefaultPort is a published property in TIdQOTDUDPServer that identifies the default port number for the server, as described in the Quote of the Day Protocol specification. The default value for DefaultPort is IdPORT_QOTD.

TIdQotdUDPServer.Create
TIdQotdUDPServer
Constructor for the object instance.

    constructor Create(axOwner: TComponent); override;

Parameters
AOwner
Owner of the object instance.
Description
Create is the constructor for the object instance that creates a new TIdQOTDUDPServer instance and sets the default port to the standard port number used by the Quote of the Day protocol (IdPORT_QOTD).

TIdQotdUDPServer.OnCommandQOTD
TIdQotdUDPServer, See Also
Event triggered when a client queries for the current Quote of the Day.

    property OnCommandQOTD: TIdQotdUDPGetEvent;

Description
OnCommandQOTD is an event triggered when a client queries for the current Quote of the Day. You set the AQuote string to the quote of the day that you wish to send to the client.

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