TIdListenerThread
OnBeforeRun
TIdThread
OnException
OnStopped
CT Web help
CodeTyphon Studio