|
Goby3 3.3.0
2025.07.10
|
#include <goby/middleware/io/detail/tcp_server_interface.h>
Public Member Functions | |
| TCPServerThread (const Config &config, int index=-1) | |
| Constructs the thread. | |
| ~TCPServerThread () override | |
Public Member Functions inherited from goby::middleware::io::detail::IOThread< line_in_group, line_out_group, publish_layer, subscribe_layer, IOConfig, SocketType, ThreadType, use_indexed_groups > | |
| IOThread (const IOConfig &config, int index, std::string glog_group="i/o") | |
| Constructs the thread. | |
| void | initialize () override |
| void | finalize () override |
| virtual | ~IOThread () |
Friends | |
| template<typename TCPServerThreadType > | |
| class | TCPSession |
Additional Inherited Members | |
Protected Member Functions inherited from goby::middleware::io::detail::IOThread< line_in_group, line_out_group, publish_layer, subscribe_layer, IOConfig, SocketType, ThreadType, use_indexed_groups > | |
| void | write (std::shared_ptr< const goby::middleware::protobuf::IOData > io_msg) |
| void | handle_read_success (std::size_t bytes_transferred, const std::string &bytes) |
| void | handle_read_success (std::size_t bytes_transferred, std::shared_ptr< goby::middleware::protobuf::IOData > io_msg) |
| void | handle_write_success (std::size_t bytes_transferred) |
| void | handle_read_error (const boost::system::error_code &ec) |
| void | handle_write_error (const boost::system::error_code &ec) |
| SocketType & | mutable_socket () |
| Access the (mutable) socket (or serial_port) object. | |
| boost::asio::io_context & | mutable_io () |
| bool | socket_is_open () |
| Does the socket exist and is it open? | |
| const std::string & | glog_group () |
Definition at line 188 of file tcp_server_interface.h.
|
inline |
Constructs the thread.
| config | A reference to the Protocol Buffers config read by the main application at launch |
Definition at line 200 of file tcp_server_interface.h.
|
inlineoverride |
Definition at line 208 of file tcp_server_interface.h.
|
friend |
Definition at line 210 of file tcp_server_interface.h.