tnt::Job Class Reference

Job - one per request. More...

#include <tnt/job.h>

Inheritance diagram for tnt::Job:
cxxtools::AtomicRefCounted cxxtools::NonCopyable tnt::StressJob tnt::Tcpjob

Public Member Functions

 Job (Tntnet &app_, const SocketIf *socketIf_=0)
virtual ~Job ()
virtual std::iostream & getStream ()=0
virtual int getFd () const =0
virtual void setRead ()=0
virtual void setWrite ()=0
HttpRequestgetRequest ()
HttpRequest::ParsergetParser ()
unsigned decrementKeepAliveCounter ()
void clear ()
void touch ()
int msecToTimeout (time_t currentTime) const
- Public Member Functions inherited from cxxtools::AtomicRefCounted
 AtomicRefCounted ()
 AtomicRefCounted (unsigned refs_)
virtual ~AtomicRefCounted ()
virtual atomic_t addRef ()
virtual atomic_t release ()
atomic_t refs () const

Detailed Description

Job - one per request.

Constructor & Destructor Documentation

tnt::Job::Job ( Tntnet app_,
const SocketIf socketIf_ = 0 
)
explicit
virtual tnt::Job::~Job ( )
virtual

Member Function Documentation

void tnt::Job::clear ( )
unsigned tnt::Job::decrementKeepAliveCounter ( )
inline
virtual int tnt::Job::getFd ( ) const
pure virtual
HttpRequest::Parser& tnt::Job::getParser ( )
inline
HttpRequest& tnt::Job::getRequest ( )
inline
virtual std::iostream& tnt::Job::getStream ( )
pure virtual
int tnt::Job::msecToTimeout ( time_t  currentTime) const
virtual void tnt::Job::setRead ( )
pure virtual
virtual void tnt::Job::setWrite ( )
pure virtual
void tnt::Job::touch ( )
inline

The documentation for this class was generated from the following file:
  • framework/common/tnt/job.h