#include <ipv6_tcpserver.h>
Public Types | |
typedef ConexusPointer< TCPServer > | pointer |
Public Member Functions | |
CONEXUS_ENDPOINTSERVER_GENERIC_CREATE () | |
virtual | ~TCPServer () |
virtual Address & | address () |
virtual void | set_address (Address addr) |
int | backlog () |
TCP::pointer | listener () |
const TCP::pointer | listener () const |
TCP & | listener_ref () |
Added for conexus-dbus interface accessor. | |
void | enable_reuse_address (bool enable=true) |
Static Public Member Functions | |
static TCPServer::pointer | create (uint16_t port=0, int backlog=5) |
static TCPServer::pointer | create (uint32_t address, uint16_t port, int backlog=5) |
static TCPServer::pointer | create (const struct in6_addr &address, uint16_t port=0, int backlog=5) |
static TCPServer::pointer | create (const std::string &address, uint16_t port=0, int backlog=5) |
Protected Member Functions | |
TCPServer (uint32_t address, uint16_t port, int backlog=5) | |
TCPServer (const struct in6_addr &address, uint16_t port, int backlog=5) | |
TCPServer (const std::string &address, uint16_t port, int backlog=5) | |
virtual void | pre_start () |
virtual void | post_stop () |
virtual void | service_thread_main () |
virtual TCP::pointer | create_accepted_endpoint (int fd) |
Protected Attributes | |
TCP::pointer | m_listener |
int | m_backlog |
typedef ConexusPointer<TCPServer> Conexus::IPv6::TCPServer::pointer |
Reimplemented from Conexus::EndpointServer.
Reimplemented in Conexus::SSL::IPv6::TCPServer.
Conexus::IPv6::TCPServer::TCPServer | ( | uint32_t | address, | |
uint16_t | port, | |||
int | backlog = 5 | |||
) | [protected] |
Conexus::IPv6::TCPServer::TCPServer | ( | const struct in6_addr & | address, | |
uint16_t | port, | |||
int | backlog = 5 | |||
) | [protected] |
References create(), and m_listener.
Conexus::IPv6::TCPServer::TCPServer | ( | const std::string & | address, | |
uint16_t | port, | |||
int | backlog = 5 | |||
) | [protected] |
References create(), and m_listener.
Conexus::IPv6::TCPServer::~TCPServer | ( | ) | [virtual] |
Reimplemented in Conexus::SSL::IPv6::TCPServer.
Address & Conexus::IPv6::TCPServer::address | ( | ) | [virtual] |
References m_listener.
int Conexus::IPv6::TCPServer::backlog | ( | ) |
References m_backlog.
Conexus::IPv6::TCPServer::CONEXUS_ENDPOINTSERVER_GENERIC_CREATE | ( | ) |
TCPServer::pointer Conexus::IPv6::TCPServer::create | ( | const std::string & | address, | |
uint16_t | port = 0 , |
|||
int | backlog = 5 | |||
) | [static] |
References TCPServer().
TCPServer::pointer Conexus::IPv6::TCPServer::create | ( | const struct in6_addr & | address, | |
uint16_t | port = 0 , |
|||
int | backlog = 5 | |||
) | [static] |
References TCPServer().
TCPServer::pointer Conexus::IPv6::TCPServer::create | ( | uint32_t | address, | |
uint16_t | port, | |||
int | backlog = 5 | |||
) | [static] |
References TCPServer().
TCPServer::pointer Conexus::IPv6::TCPServer::create | ( | uint16_t | port = 0 , |
|
int | backlog = 5 | |||
) | [static] |
References TCPServer().
Referenced by create_accepted_endpoint(), and TCPServer().
TCP::pointer Conexus::IPv6::TCPServer::create_accepted_endpoint | ( | int | fd | ) | [protected, virtual] |
Reimplemented in Conexus::SSL::IPv6::TCPServer.
References create().
Referenced by service_thread_main().
void Conexus::IPv6::TCPServer::enable_reuse_address | ( | bool | enable = true |
) |
References m_listener.
const TCP::pointer Conexus::IPv6::TCPServer::listener | ( | ) | const |
References m_listener.
TCP::pointer Conexus::IPv6::TCPServer::listener | ( | ) |
References m_listener.
TCP & Conexus::IPv6::TCPServer::listener_ref | ( | ) |
void Conexus::IPv6::TCPServer::post_stop | ( | ) | [protected, virtual] |
void Conexus::IPv6::TCPServer::pre_start | ( | ) | [protected, virtual] |
void Conexus::IPv6::TCPServer::service_thread_main | ( | ) | [protected, virtual] |
void Conexus::IPv6::TCPServer::set_address | ( | Address | addr | ) | [virtual] |
References m_listener.
int Conexus::IPv6::TCPServer::m_backlog [protected] |
Referenced by backlog(), and pre_start().
TCP::pointer Conexus::IPv6::TCPServer::m_listener [protected] |