WebFramework v3.0.12
Web framework for C++.
Loading...
Searching...
No Matches
framework::BaseHeavyOperationStatefulExecutor Class Reference

Base class for executors with dynamically changes states. More...

#include <BaseHeavyOperationStatefulExecutor.h>

Inheritance diagram for framework::BaseHeavyOperationStatefulExecutor:
framework::BaseExecutor

Public Member Functions

virtual executorType getType () const final override
 Get executor type.
 
virtual void destroy () override
 
- Public Member Functions inherited from framework::BaseExecutor
virtual void init (const utility::JSONSettingsParser::ExecutorSettings &settings)
 Initializing executor before use.
 
virtual void doPost (HTTPRequest &request, HTTPResponse &response)
 Process POST request.
 
virtual void doGet (HTTPRequest &request, HTTPResponse &response)
 Process GET request.
 
virtual void doHead (HTTPRequest &request, HTTPResponse &response)
 Process HEAD request.
 
virtual void doPut (HTTPRequest &request, HTTPResponse &response)
 Process PUT request.
 
virtual void doDelete (HTTPRequest &request, HTTPResponse &response)
 Process DELETE request.
 
virtual void doPatch (HTTPRequest &request, HTTPResponse &response)
 Process PATCH request.
 
virtual void doOptions (HTTPRequest &request, HTTPResponse &response)
 Process OPTIONS request.
 
virtual void doTrace (HTTPRequest &request, HTTPResponse &response)
 Process TRACE request.
 
virtual void doConnect (HTTPRequest &request, HTTPResponse &response)
 Process CONNECT request.
 

Additional Inherited Members

- Public Types inherited from framework::BaseExecutor
enum class  executorType {
  none , stateful , stateless , heavyOperationStateful ,
  heavyOperationStateless
}
 

Detailed Description

Base class for executors with dynamically changes states.

This type of executors creating dynamically for each client

Client can change states during connection, after disconnect destroy method called

Run in separate thread

Definition at line 13 of file BaseHeavyOperationStatefulExecutor.h.

Member Function Documentation

◆ destroy()

void framework::BaseHeavyOperationStatefulExecutor::destroy ( )
overridevirtual

Destroy and unload executor

Executors inherited from BaseStatelessExecutor no need this method

Implements framework::BaseExecutor.

Definition at line 12 of file BaseHeavyOperationStatefulExecutor.cpp.

◆ getType()

BaseExecutor::executorType framework::BaseHeavyOperationStatefulExecutor::getType ( ) const
finaloverridevirtual

Get executor type.

Returns
executorType::heavyOperationStateful

Implements framework::BaseExecutor.

Definition at line 7 of file BaseHeavyOperationStatefulExecutor.cpp.


The documentation for this class was generated from the following files: