TDaemon class
Daemon class for visual development.
Declaration
TDaemon = class(TCustomDaemon)Inheritance
Description
TDaemon is a
TCustomDaemon descendent which is
meant for development in a visual environment: it contains event handlers
for all major operations. Whenever a
TCustomDaemon method is
executed, it's execution is shunted to the event handler, which can be
filled with code in the IDE.
All the events of the daemon are executed in the thread in which the daemon's controller is running (as given by DaemonThread), which is not the main program thread.
See also
Properties
Definition | public | The definition used to instantiate this daemon instance. |
Status | public | Current status of the daemon. |
BeforeInstall | published | Called before the daemon will be installed. |
AfterInstall | published | Called after the daemon was installed. |
BeforeUnInstall | published | Called before the daemon is uninstalled. |
AfterUnInstall | published | Called after the daemon is uninstalled. |
Methods
Start | protected | |
Stop | protected | |
Pause | protected | |
Continue | protected | |
Execute | protected | |
ShutDown | protected | |
Install | protected | |
UnInstall | protected | |
HandleCustomCode | protected |
Events
OnStart | published | Daemon start event. |
OnStop | published | Daemon stop event. |
OnPause | published | Daemon pause event. |
OnContinue | published | Daemon continue. |
OnShutDown | published | Daemon shutdown. |
OnExecute | published | Daemon execute event. |
OnControlCode | published | Called when a control code is received for the daemon. |
OnControlCodeEvent | published |
Inherited
From TCustomDaemon (7)
CheckControlMessages Controller DaemonThread DoThreadTerminate Logger LogMessage ReportStatus
From TDataModule (17)
AfterConstruction BeforeDestruction Create CreateNew DefineProperties DesignOffset DesignPPI DesignSize Destroy DoCreate DoDestroy GetChildren HandleCreateException OldCreateOrder OnCreate OnDestroy ReadState
From TComponent (70)
_AddRef _Release CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetParentComponent GetTypeInfo GetTypeInfoCount HasParent iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name Notification ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetParentComponent SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState
From TPersistent (5)
Assign AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (36)
CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
