TCustomDaemon class
Base daemon application class.
Declaration
TCustomDaemon = class(TDataModule)Inheritance
- TCustomDaemon
- TDataModule
- TComponent
- TPersistent
- TObject
Descends from it: TDaemon
Description
TCustomDaemon implements all the basic calls that are needed
for a daemon to function. Descendents of
TCustomDaemon can
override these calls to implement the daemon-specific behaviour.
TCustomDaemon is an abstract class, it should never be
instantiated. Either a descendent of it must be created and instantiated, or
a descendent of
TDaemon can be designed to implement the
behaviour of the daemon.
See also
Properties
Definition | public | The definition used to instantiate this daemon instance. |
DaemonThread | public | Thread in which daemon is running. |
Controller | public | TDaemonController instance controlling this daemon instance. |
Status | public | Current status of the daemon. |
Logger | public | TEventLog instance used to send messages to the system log. |
Methods
Start | protected | |
Stop | protected | |
Pause | protected | |
Continue | protected | |
Execute | protected | |
ShutDown | protected | |
Install | protected | |
UnInstall | protected | |
HandleCustomCode | protected | |
DoThreadTerminate | protected | |
CheckControlMessages | public | |
LogMessage | public | Log a message to the system log. |
ReportStatus | public | Report the current status to the operating system. |
Inherited
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.
