Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Friends | List of all members
toolbox::http::BasicConn< RequestT, AppT > Class Template Reference

#include <toolbox/http/Conn.hpp>

Inheritance diagram for toolbox::http::BasicConn< RequestT, AppT >:
Inheritance graph
[legend]
Collaboration diagram for toolbox::http::BasicConn< RequestT, AppT >:
Collaboration graph
[legend]

Public Types

using Protocol = StreamProtocol
 
using Endpoint = StreamEndpoint
 

Public Member Functions

 BasicConn (CyclTime now, Reactor &r, IoSock &&sock, const Endpoint &ep, App &app)
 
 BasicConn (const BasicConn &)=delete
 
BasicConnoperator= (const BasicConn &)=delete
 
 BasicConn (BasicConn &&)=delete
 
BasicConnoperator= (BasicConn &&)=delete
 
const Endpointendpoint () const noexcept
 
void clear () noexcept
 

Public Attributes

boost::intrusive::list_member_hook< AutoUnlinkOption > list_hook
 

Protected Member Functions

void dispose_now (CyclTime now) noexcept
 

Friends

class BasicDisposer< BasicConn< RequestT, AppT > >
 
class BasicParser< BasicConn< RequestT, AppT > >
 

Detailed Description

template<typename RequestT, typename AppT>
class toolbox::http::BasicConn< RequestT, AppT >

Definition at line 33 of file Conn.hpp.

Member Typedef Documentation

◆ Protocol

Definition at line 53 of file Conn.hpp.

◆ Endpoint

Definition at line 54 of file Conn.hpp.

Constructor & Destructor Documentation

◆ BasicConn() [1/3]

toolbox::http::BasicConn< RequestT, AppT >::BasicConn ( CyclTime  now,
Reactor r,
IoSock &&  sock,
const Endpoint ep,
App &  app 
)
inline

Definition at line 56 of file Conn.hpp.

◆ BasicConn() [2/3]

◆ BasicConn() [3/3]

toolbox::http::BasicConn< RequestT, AppT >::BasicConn ( BasicConn< RequestT, AppT > &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

◆ operator=() [2/2]

◆ endpoint()

const Endpoint & toolbox::http::BasicConn< RequestT, AppT >::endpoint ( ) const
inlinenoexcept

Definition at line 76 of file Conn.hpp.

◆ clear()

void toolbox::http::BasicConn< RequestT, AppT >::clear ( )
inlinenoexcept

Definition at line 77 of file Conn.hpp.

◆ dispose_now()

void toolbox::http::BasicConn< RequestT, AppT >::dispose_now ( CyclTime  now)
inlineprotectednoexcept

Definition at line 81 of file Conn.hpp.

Friends And Related Symbol Documentation

◆ BasicDisposer< BasicConn< RequestT, AppT > >

Definition at line 1 of file Conn.hpp.

◆ BasicParser< BasicConn< RequestT, AppT > >

Definition at line 1 of file Conn.hpp.

Member Data Documentation

◆ list_hook

boost::intrusive::list_member_hook<AutoUnlinkOption> toolbox::http::BasicConn< RequestT, AppT >::list_hook

Definition at line 78 of file Conn.hpp.


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