#include <ipv4_tcpserver.h>
Public Types | |
typedef ConexusPointer< TCPServer > | pointer |
Public Member Functions | |
virtual | ~TCPServer () |
Context::pointer | context () |
void | set_context (Context::pointer c) |
void | set_blocking () |
Static Public Member Functions | |
static pointer | create (Context::pointer context, uint16_t port=0, int backlog=5) |
static pointer | create (Context::pointer context, uint32_t address, uint16_t port, int backlog=5) |
static pointer | create (Context::pointer context, const std::string &address, uint16_t port=0, int backlog=5) |
Protected Member Functions | |
TCPServer (Context::pointer context, uint32_t address, uint16_t port, int backlog) | |
TCPServer (Context::pointer context, const std::string &address, uint16_t port, int backlog) | |
virtual Conexus::IPv4::TCP::pointer | create_accepted_endpoint (int fd) |
Protected Attributes | |
Context::pointer | m_context |
typedef ConexusPointer<TCPServer> Conexus::SSL::IPv4::TCPServer::pointer |
Reimplemented from Conexus::IPv4::TCPServer.
Conexus::SSL::IPv4::TCPServer::TCPServer | ( | Context::pointer | context, | |
uint32_t | address, | |||
uint16_t | port, | |||
int | backlog | |||
) | [protected] |
Referenced by create().
Conexus::SSL::IPv4::TCPServer::TCPServer | ( | Context::pointer | context, | |
const std::string & | address, | |||
uint16_t | port, | |||
int | backlog | |||
) | [protected] |
Conexus::SSL::IPv4::TCPServer::~TCPServer | ( | ) | [virtual] |
Reimplemented from Conexus::IPv4::TCPServer.
Context::pointer Conexus::SSL::IPv4::TCPServer::context | ( | ) |
References m_context.
TCPServer::pointer Conexus::SSL::IPv4::TCPServer::create | ( | Context::pointer | context, | |
const std::string & | address, | |||
uint16_t | port = 0 , |
|||
int | backlog = 5 | |||
) | [static] |
References TCPServer().
TCPServer::pointer Conexus::SSL::IPv4::TCPServer::create | ( | Context::pointer | context, | |
uint32_t | address, | |||
uint16_t | port, | |||
int | backlog = 5 | |||
) | [static] |
References TCPServer().
TCPServer::pointer Conexus::SSL::IPv4::TCPServer::create | ( | Context::pointer | context, | |
uint16_t | port = 0 , |
|||
int | backlog = 5 | |||
) | [static] |
Conexus::IPv4::TCP::pointer Conexus::SSL::IPv4::TCPServer::create_accepted_endpoint | ( | int | fd | ) | [protected, virtual] |
void Conexus::SSL::IPv4::TCPServer::set_blocking | ( | ) |
References Conexus::IPv4::TCPServer::m_listener.
void Conexus::SSL::IPv4::TCPServer::set_context | ( | Context::pointer | c | ) |
References m_context.
Referenced by context(), create_accepted_endpoint(), and set_context().