HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NET_HTTPWebTaskHandler Class Reference

This is a generic handler for serving only http requests. More...

#include <NET_HTTPTaskHandler.h>

+ Inheritance diagram for NET_HTTPWebTaskHandler:

Public Member Functions

const char * className () const override
 
- Public Member Functions inherited from NET_WebTaskHandler
 NET_WebTaskHandler (NET_WebEndpoint &ep)
 
virtual ~NET_WebTaskHandler ()=default
 
const NET_TimeprocessStartTime () const
 
virtual int64 calcElapsedTime (time_t now) const
 
void setHasWork (bool has_work)
 
SYS_FORCE_INLINE bool isFinished () const
 

Static Public Member Functions

static
NET_WebTaskFactory::ProtocolId 
protocolId ()
 

Protected Member Functions

void onProcess () override
 

Additional Inherited Members

- Public Types inherited from NET_WebTaskHandler
using Callback = UT_Functor< void >
 
- Public Attributes inherited from NET_WebTaskHandler
NET_WebEndpointmyEP
 
Callback myOnOpen
 
Callback myOnClose
 
bool myHasMoreWork
 
NET_Time myProcessTime
 

Detailed Description

This is a generic handler for serving only http requests.

Definition at line 27 of file NET_HTTPTaskHandler.h.

Member Function Documentation

const char* NET_HTTPWebTaskHandler::className ( ) const
inlineoverridevirtual

Implements NET_WebTaskHandler.

Definition at line 38 of file NET_HTTPTaskHandler.h.

void NET_HTTPWebTaskHandler::onProcess ( )
overrideprotectedvirtual

Reimplemented from NET_WebTaskHandler.

static NET_WebTaskFactory::ProtocolId NET_HTTPWebTaskHandler::protocolId ( )
inlinestatic

Definition at line 33 of file NET_HTTPTaskHandler.h.


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