tnt::Tcpjob Class Reference

#include <tnt/tcpjob.h>

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

Public Member Functions

 Tcpjob (Tntnet &app, const cxxtools::net::TcpServer &listener_, Jobqueue &queue_)
std::iostream & getStream ()
int getFd () const
void setRead ()
void setWrite ()
- Public Member Functions inherited from tnt::Job
 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

Additional Inherited Members

- Private Member Functions inherited from tnt::SocketIf
virtual std::string getPeerIp () const =0
virtual std::string getServerIp () const =0
virtual bool isSsl () const =0
virtual ~SocketIf ()

Constructor & Destructor Documentation

tnt::Tcpjob::Tcpjob ( Tntnet app,
const cxxtools::net::TcpServer listener_,
Jobqueue queue_ 
)
inline

Member Function Documentation

int tnt::Tcpjob::getFd ( ) const
std::iostream& tnt::Tcpjob::getStream ( )
void tnt::Tcpjob::setRead ( )
void tnt::Tcpjob::setWrite ( )

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