#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/Bonjour.hpp>
Public Member Functions | |
| ResolveSocket (const std::string &hostname, Bonjour::ReplyFn replyfn, const boost::asio::ip::address &multicast_address, const boost::asio::ip::address &interface_address, std::shared_ptr< boost::asio::io_context > io_service) | |
| ResolveSocket (const std::string &hostname, Bonjour::ReplyFn replyfn, const boost::asio::ip::address &multicast_address, std::shared_ptr< boost::asio::io_context > io_service) | |
| std::string | get_hostname () const |
| void | send () |
| void | async_receive () |
| void | cancel () |
Protected Member Functions | |
| SharedSession | create_session () const override |
| void | create_requests () |
| void | receive_handler (SharedSession session, const boost::system::error_code &error, size_t bytes) |
Protected Attributes | |
| std::string | hostname |
| Bonjour::ReplyFn | replyfn |
| boost::asio::ip::address | multicast_address |
| boost::asio::ip::udp::socket | socket |
| boost::asio::ip::udp::endpoint | mcast_endpoint |
| std::shared_ptr< boost::asio::io_context > | io_service |
| std::vector< BonjourRequest > | requests |
|
inline |
References Slic3r::UdpSocket::UdpSocket(), create_requests(), hostname, Slic3r::UdpSocket::io_service, Slic3r::UdpSocket::multicast_address, and Slic3r::UdpSocket::replyfn.
|
inline |
References Slic3r::UdpSocket::UdpSocket(), create_requests(), hostname, Slic3r::UdpSocket::io_service, Slic3r::UdpSocket::multicast_address, and Slic3r::UdpSocket::replyfn.
|
inherited |
References create_session(), receive_handler(), and socket.
Referenced by receive_handler(), and send().
|
inlineprotected |
References hostname, Slic3r::BonjourRequest::make_A(), Slic3r::BonjourRequest::make_AAAA(), and Slic3r::UdpSocket::requests.
Referenced by ResolveSocket(), and ResolveSocket().
|
overrideprotectedvirtual |
Implements Slic3r::UdpSocket.
References Slic3r::UdpSocket::replyfn.
|
inline |
|
protectedinherited |
References async_receive(), Slic3r::UdpSession::handle_receive(), and io_service.
Referenced by async_receive().
|
inherited |
References async_receive(), mcast_endpoint, requests, and socket.
|
protected |
Referenced by ResolveSocket(), ResolveSocket(), create_requests(), and get_hostname().
|
protectedinherited |
|
protectedinherited |
Referenced by send().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by Slic3r::LookupSocket::create_request(), Slic3r::ResolveSocket::create_requests(), and send().
|
protectedinherited |
Referenced by async_receive(), cancel(), and send().