Daraja HTTP Framework 3.0.7-SNAPSHOT
HTTP server framework for Object Pascal
Loading...
Searching...
No Matches
ILifeCycle Interface Reference

Interface for components with a lifecycle (start/stop capabilities). More...

Inheritance diagram for ILifeCycle:
IConnector IHandler TdjLifeCycle TdjAbstractConnector IHandlerContainer TdjAbstractHandler TdjAbstractConnector TdjAbstractHandler TdjGenericHolder TdjHTTPConnector TdjAbstractHandlerContainer TdjServerBase TdjAbstractHandlerContainer TdjWebComponentHandler TdjHTTPConnector TdjAbstractHandlerContainer TdjWebComponentHandler TdjWebComponentHolder TdjWebFilterHolder

Public Member Functions

boolean IsStarted ()
boolean IsStopped ()
 Start ()
 Starts the component.
 Stop ()
 Stops the component.

Detailed Description

Interface for components with a lifecycle (start/stop capabilities).

Member Function Documentation

◆ IsStarted()

boolean ILifeCycle::IsStarted ( )
Returns
True if component is started

Implemented in TdjLifeCycle.

Referenced by Stop().

◆ IsStopped()

boolean ILifeCycle::IsStopped ( )
Returns
True if component is stopped

Implemented in TdjLifeCycle.

◆ Start()

ILifeCycle::Start ( )

Starts the component.

Implemented in TdjLifeCycle.

◆ Stop()

ILifeCycle::Stop ( )

Stops the component.

Implemented in TdjLifeCycle.

References IsStarted().