Kea 2.7.5
|
Classes | |
class | MtTcpListenerMgr |
Manages a thread-pool that is used to drive a TcpListener. More... | |
class | TcpConnection |
Accepts and handles a single TCP connection. More... | |
class | TcpConnectionError |
Generic error reported within TcpConnection class. More... | |
class | TcpConnectionPool |
Pool of active TCP connections. More... | |
class | TcpListener |
Implements a class that listens for, accepts, and manages TCP connections. More... | |
class | TcpListenerError |
A generic error raised by the TcpListener class. More... | |
class | TcpMessage |
Base class for TCP messages. More... | |
class | TcpRequest |
Abstract class used to receive an inbound message. More... | |
class | TcpResponse |
Abstract class used to create and send an outbound response. More... | |
class | TcpStreamRequest |
Implement a simple length:data input stream message. More... | |
class | TcpStreamResponse |
Implements a simple length:data output stream message. More... | |
Typedefs | |
typedef boost::shared_ptr< MtTcpListenerMgr > | MtTcpListenerMgrPtr |
Defines a shared pointer to MtTcpListenerMgr. | |
typedef asiolink::TCPAcceptor< TcpConnectionAcceptorCallback > | TcpConnectionAcceptor |
Type of the TCP acceptor used in this library. | |
typedef std::function< void(const boost::system::error_code &) | TcpConnectionAcceptorCallback) |
Type of the callback for the TCP acceptor used in this library. | |
typedef boost::shared_ptr< TcpConnectionAcceptor > | TcpConnectionAcceptorPtr |
Type of shared pointer to TCP acceptors. | |
typedef std::function< bool(const boost::asio::ip::tcp::endpoint &) | TcpConnectionFilterCallback) |
Type of the callback for filtering new connections by ip address. | |
typedef std::list< TcpConnectionPtr > | TcpConnectionList |
Type of TCP connection pointer list. | |
typedef boost::shared_ptr< TcpConnection > | TcpConnectionPtr |
Pointer to the TcpConnection. | |
typedef std::function< TcpListenerPtr(const asiolink::IOServicePtr &io_service, const asiolink::IOAddress &server_address, const unsigned short server_port, const asiolink::TlsContextPtr &tls_context, const TcpListener::IdleTimeout &idle_timeout, const TcpConnectionFilterCallback &connection_filter) | TcpListenerFactory) |
Defines a factory function for creating TcpListeners. | |
typedef boost::shared_ptr< TcpListener > | TcpListenerPtr |
Pointer to a TcpListener. | |
typedef boost::shared_ptr< TcpRequest > | TcpRequestPtr |
Defines a smart pointer to a TcpRequest. | |
typedef boost::shared_ptr< TcpResponse > | TcpResponsePtr |
typedef boost::shared_ptr< TcpStreamRequest > | TcpStreamRequestPtr |
Pointer to a TcpStreamRequest. | |
typedef boost::shared_ptr< TcpStreamResponse > | TcpStreamResponsePtr |
Pointer to a TcpStreamResponse. | |
typedef asiolink::TLSAcceptor< TcpConnectionAcceptorCallback > | TlsConnectionAcceptor |
Type of the TLS acceptor used in this library. | |
typedef boost::shared_ptr< TlsConnectionAcceptor > | TlsConnectionAcceptorPtr |
Type of shared pointer to TLS acceptors. | |
typedef std::vector< uint8_t > | WireData |
Defines a data structure for storing raw bytes of data on the wire. | |
typedef boost::shared_ptr< WireData > | WireDataPtr |
typedef boost::shared_ptr<MtTcpListenerMgr> isc::tcp::MtTcpListenerMgrPtr |
Defines a shared pointer to MtTcpListenerMgr.
Definition at line 206 of file mt_tcp_listener_mgr.h.
Type of the TCP acceptor used in this library.
Definition at line 24 of file tcp_connection_acceptor.h.
typedef std::function<void(const boost::system::error_code&) isc::tcp::TcpConnectionAcceptorCallback) |
Type of the callback for the TCP acceptor used in this library.
Definition at line 21 of file tcp_connection_acceptor.h.
typedef boost::shared_ptr<TcpConnectionAcceptor> isc::tcp::TcpConnectionAcceptorPtr |
Type of shared pointer to TCP acceptors.
Definition at line 27 of file tcp_connection_acceptor.h.
typedef std::function<bool(const boost::asio::ip::tcp::endpoint&) isc::tcp::TcpConnectionFilterCallback) |
Type of the callback for filtering new connections by ip address.
Definition at line 154 of file tcp_connection.h.
typedef std::list<TcpConnectionPtr> isc::tcp::TcpConnectionList |
Type of TCP connection pointer list.
Definition at line 19 of file tcp_connection_pool.h.
typedef boost::shared_ptr<TcpConnection> isc::tcp::TcpConnectionPtr |
Pointer to the TcpConnection.
Definition at line 467 of file tcp_connection.h.
typedef std::function< TcpListenerPtr(const asiolink::IOServicePtr& io_service, const asiolink::IOAddress& server_address, const unsigned short server_port, const asiolink::TlsContextPtr& tls_context, const TcpListener::IdleTimeout& idle_timeout, const TcpConnectionFilterCallback& connection_filter) isc::tcp::TcpListenerFactory) |
Defines a factory function for creating TcpListeners.
Definition at line 31 of file mt_tcp_listener_mgr.h.
typedef boost::shared_ptr<TcpListener> isc::tcp::TcpListenerPtr |
Pointer to a TcpListener.
Definition at line 164 of file tcp_listener.h.
typedef boost::shared_ptr<TcpRequest> isc::tcp::TcpRequestPtr |
Defines a smart pointer to a TcpRequest.
Definition at line 100 of file tcp_connection.h.
typedef boost::shared_ptr<TcpResponse> isc::tcp::TcpResponsePtr |
Definition at line 138 of file tcp_connection.h.
typedef boost::shared_ptr<TcpStreamRequest> isc::tcp::TcpStreamRequestPtr |
Pointer to a TcpStreamRequest.
Definition at line 92 of file tcp_stream_msg.h.
typedef boost::shared_ptr<TcpStreamResponse> isc::tcp::TcpStreamResponsePtr |
Pointer to a TcpStreamResponse.
Definition at line 146 of file tcp_stream_msg.h.
Type of the TLS acceptor used in this library.
Definition at line 30 of file tcp_connection_acceptor.h.
typedef boost::shared_ptr<TlsConnectionAcceptor> isc::tcp::TlsConnectionAcceptorPtr |
Type of shared pointer to TLS acceptors.
Definition at line 33 of file tcp_connection_acceptor.h.
typedef std::vector<uint8_t> isc::tcp::WireData |
Defines a data structure for storing raw bytes of data on the wire.
Definition at line 30 of file tcp_connection.h.
typedef boost::shared_ptr<WireData> isc::tcp::WireDataPtr |
Definition at line 31 of file tcp_connection.h.
|
extern |
Definition at line 11 of file tcp_messages.h.
Referenced by isc::tcp::MtTcpListenerMgr::start().
|
extern |
Definition at line 12 of file tcp_messages.h.
Referenced by isc::tcp::MtTcpListenerMgr::stop().
|
extern |
Definition at line 13 of file tcp_messages.h.
Referenced by isc::tcp::MtTcpListenerMgr::stop().
|
extern |
Definition at line 14 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::postData().
|
extern |
Definition at line 15 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::acceptorCallback().
|
extern |
Definition at line 16 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::shutdownConnection().
|
extern |
Definition at line 17 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::shutdownConnection().
|
extern |
Definition at line 18 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::stopThisConnection().
|
extern |
Definition at line 19 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::stopThisConnection().
|
extern |
Definition at line 20 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::socketReadCallback().
|
extern |
Definition at line 21 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::socketWriteCallback().
const long isc::tcp::TCP_IDLE_CONNECTION_TIMEOUT = 300 * 1000 |
Default connection idle timeout in milliseconds.
Definition at line 21 of file mt_tcp_listener_mgr.h.
|
extern |
Definition at line 22 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::idleTimeoutCallback().
isc::log::Logger isc::tcp::tcp_logger | ( | "tcp" | ) |
Defines the logger used within libkea-tcp library.
Define the logger used within libkea-tcp library.
Definition at line 18 of file tcp_log.h.
Referenced by isc::tcp::TcpConnection::acceptorCallback(), isc::tcp::TcpConnection::doWrite(), isc::tcp::TcpConnection::handshakeCallback(), isc::tcp::TcpConnection::idleTimeoutCallback(), isc::tcp::TcpConnection::postData(), isc::tcp::TcpConnection::shutdownConnection(), isc::tcp::TcpConnection::socketReadCallback(), isc::tcp::TcpConnection::socketWriteCallback(), isc::tcp::MtTcpListenerMgr::start(), isc::tcp::MtTcpListenerMgr::stop(), and isc::tcp::TcpConnection::stopThisConnection().
|
extern |
Definition at line 24 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::acceptorCallback().
|
extern |
Definition at line 23 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::postData().
|
extern |
Definition at line 25 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::doWrite().
|
extern |
Definition at line 26 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::handshakeCallback().
|
extern |
Definition at line 27 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::acceptorCallback().
|
extern |
Definition at line 28 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::handshakeCallback().
|
extern |
Definition at line 29 of file tcp_messages.h.
Referenced by isc::tcp::TcpConnection::doWrite().