|
Daraja HTTP Framework 3.2.1-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 | |
| CheckNotStarted () | |
| Raises an exception if the lifecycle is already in "started" state. | |
| CheckNotStopped () | |
| Raises an exception if the lifecycle is already in "stopped" state. | |
| DoStart () | |
| Execute the custom start code. | |
| DoStop () | |
| Execute the custom stop code. | |
Abstract LifeCycle implementation.
| TdjLifeCycle::TdjLifeCycle | ( | ) |
References TdjLifeCycle().
Referenced by TdjLifeCycle(), CheckNotStopped(), IsStarted(), and Start().
| TdjLifeCycle::~TdjLifeCycle | ( | ) |
|
protected |
Raises an exception if the lifecycle is already in "started" state.
References Started, and Stopped.
Referenced by TdjWebFilterHolders::TdjWebFilterHolders().
|
protected |
Raises an exception if the lifecycle is already in "stopped" state.
References TdjLifeCycle().
|
protected |
Execute the custom start code.
|
protected |
Execute the custom stop code.
References IsStarted(), IsStopped(), Start(), and Stop().
| Boolean TdjLifeCycle::IsStarted | ( | ) |
Implements ILifeCycle.
References TdjLifeCycle().
Referenced by DoStop(), and TdjWebComponentHandler::InvokeService().
| Boolean TdjLifeCycle::IsStopped | ( | ) |
Implements ILifeCycle.
References Stopped.
Referenced by DoStop().
| TdjLifeCycle::Start | ( | ) |
| TdjLifeCycle::Stop | ( | ) |
Stops the component.
Implements ILifeCycle.
References Started.
Referenced by DoStop(), and TdjWebComponentHandler::InvokeService().
| Boolean TdjLifeCycle::Started |
Referenced by CheckNotStarted(), and Stop().
| Boolean TdjLifeCycle::Stopped |
Referenced by CheckNotStarted(), and IsStopped().