Indy 9
TIdNoCommandHandlerEvent
See Also, Unit: IdTCPServer
Event type used when an executing peer thread cannot find a command handler.
TIdNoCommandHandlerEvent = procedure (ASender: TIdTCPServer; const AData: string; AThread: TIdPeerThread) of object;
Unit
IdTCPServer
Parameters
AData
The command not handled by the command handlers.
ASender
Server that owns the thread of execution.
AThread
The thjread of excution signaling the event.
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.


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