Goby3  3.1.5a
2024.05.23
goby::middleware::io::TCPSessionLineBased< TCPServerThreadType > Class Template Reference

#include <goby/middleware/io/line_based/tcp_server.h>

Inheritance diagram for goby::middleware::io::TCPSessionLineBased< TCPServerThreadType >:
goby::middleware::io::detail::TCPSession< TCPServerThreadType >

Public Member Functions

 TCPSessionLineBased (boost::asio::ip::tcp::socket socket, TCPServerThreadType &server)
 
- Public Member Functions inherited from goby::middleware::io::detail::TCPSession< TCPServerThreadType >
 TCPSession (boost::asio::ip::tcp::socket socket, TCPServerThreadType &server)
 
virtual ~TCPSession ()
 
void start ()
 
const boost::asio::ip::tcp::endpoint & remote_endpoint ()
 
const boost::asio::ip::tcp::endpoint & local_endpoint ()
 
const std::string & glog_group ()
 
virtual void async_write (std::shared_ptr< const goby::middleware::protobuf::IOData > io_msg)
 

Additional Inherited Members

- Protected Member Functions inherited from goby::middleware::io::detail::TCPSession< TCPServerThreadType >
void handle_write_success (std::size_t bytes_transferred)
 
void handle_write_error (const boost::system::error_code &ec)
 
void handle_read_success (std::size_t bytes_transferred, std::shared_ptr< goby::middleware::protobuf::IOData > io_msg)
 
void handle_read_error (const boost::system::error_code &ec)
 
const TCPServerThreadType::ConfigType & cfg ()
 
boost::asio::ip::tcp::socket & mutable_socket ()
 

Detailed Description

template<typename TCPServerThreadType>
class goby::middleware::io::TCPSessionLineBased< TCPServerThreadType >

Definition at line 57 of file tcp_server.h.

Constructor & Destructor Documentation

◆ TCPSessionLineBased()

template<typename TCPServerThreadType >
goby::middleware::io::TCPSessionLineBased< TCPServerThreadType >::TCPSessionLineBased ( boost::asio::ip::tcp::socket  socket,
TCPServerThreadType &  server 
)
inline

Definition at line 60 of file tcp_server.h.


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