Indy 9 | Content | Index | Reference

KnownCommands
See Also, Unit: IdDICTServer
Represents the commands recognized by the DICT server.

    KnownCommands: Array [1..40] of string = ( 'ADMIN', 'AWAY', 'CONNECT', 'ERROR', 'INFO', 'INVITE', 'ISON', 'JOIN', 'KICK', 'KILL', 'LINKS', 'LIST', 'MODE', 'NAMES', 'NICK', 'NOTICE', 'OPER', 'PART', 'PASS', 'PING', 'PONG', 'PRIVMSG', 'QUIT', 'REHASH', 'RESTART', 'SERVER', 'SQUIT', 'STATS', 'SUMMON', 'TIME', 'TOPIC', 'TRACE', 'USER', 'USERHOST', 'USERS', 'VERSION', 'WALLOPS', 'WHO', 'WHOIS', 'WHOWAS' );

Unit
IdDICTServer
Description
KnownCommands is a constant array that contains Strings representing the commands recognized by a TIdDICTServer implementation. KnownCommands is used when the DICT server use the OnExecute event handler to service threaded client connections.

Known commands has significance when the DoExecute method is called using the TIdPeerThread. KnownCommands is used to identify a command and optional parameters read from the client connection, and to dispatch to an event handler used to implement the command functionality.

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