|
Daraja HTTP Framework 3.0.7-SNAPSHOT
HTTP server framework for Object Pascal
|
Abstract LifeCycle implementation. More...
Public Member Functions | |
| TdjLifeCycle () | |
| ~TdjLifeCycle () | |
| Boolean | IsStarted () |
| Boolean | IsStopped () |
| Start () | |
| Starts the component. | |
| Stop () | |
| Stops the component. | |
Public Attributes | |
| Boolean | Started |
| Boolean | Stopped |
Protected Member Functions | |
| CheckStarted () | |
| Raises an exception if the lifecycle is in "started" state. | |
| CheckStopped () | |
| Raises an exception if the lifecycle is in "stopped" state. | |
| DoStart () | |
| Execute the custom start code. | |
| DoStop () | |
| Execute the custom stop code. | |
Abstract LifeCycle implementation.
| TdjLifeCycle::TdjLifeCycle | ( | ) |
Referenced by ~TdjLifeCycle(), CheckStarted(), CheckStopped(), and Stop().
| TdjLifeCycle::~TdjLifeCycle | ( | ) |
References TdjLifeCycle().
|
protected |
Raises an exception if the lifecycle is in "started" state.
References TdjLifeCycle().
|
protected |
Raises an exception if the lifecycle is in "stopped" state.
References TdjLifeCycle(), and Started.
|
protected |
Execute the custom start code.
References Create(), Destroy(), IsStarted(), IsStopped(), and Stop().
| Boolean TdjLifeCycle::IsStarted | ( | ) |
Implements ILifeCycle.
References Create().
Referenced by DoStart(), and TdjWebComponentHandler::FindHolder().
| Boolean TdjLifeCycle::IsStopped | ( | ) |
| TdjLifeCycle::Start | ( | ) |
| TdjLifeCycle::Stop | ( | ) |
Stops the component.
Implements ILifeCycle.
References TdjLifeCycle().
Referenced by DoStart(), and TdjWebComponentHandler::InvokeService().
| Boolean TdjLifeCycle::Started |