Internet Direct (Indy) Version 9.0.2 Beta
TIdNoCommandHandlerEvent
Event type used when an executing peer thread cannot find a command handler.

TIdNoCommandHandlerEvent = procedure (ASender: TIdTCPServer; const AData: string; AThread: TIdPeerThread) of object;
Description
TIdNoCommandHandlerEvent specifies an event type signalled when an executing peer thread cannot find a command handler for the command received from the peer connection. TIdNoCommandHandlerEvent is the event type signalled to the TIdTCPServer.OnNoCommandHandler event handler.

TIdNoCommandHandlerEvent can be signalled only when the server has valid command handlers, command handlers are enabled, and a procedure has been assigned to the OnNoCommandHandler event handler.