OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::UdpSession Class Referenceabstract

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/Bonjour.hpp>

Inheritance diagram for Slic3r::UdpSession:
Collaboration diagram for Slic3r::UdpSession:

Public Member Functions

 UdpSession (Bonjour::ReplyFn rfn)
virtual ~UdpSession ()=default
virtual void handle_receive (const boost::system::error_code &error, size_t bytes)=0

Public Attributes

std::vector< char > buffer
boost::asio::ip::udp::endpoint remote_endpoint

Protected Attributes

Bonjour::ReplyFn replyfn

Detailed Description

Constructor & Destructor Documentation

◆ UdpSession()

Slic3r::UdpSession::UdpSession ( Bonjour::ReplyFn rfn)
640 : replyfn(rfn)
641{
643}
std::vector< char > buffer
Definition Bonjour.hpp:133
Bonjour::ReplyFn replyfn
Definition Bonjour.hpp:136
@ MAX_SIZE
Definition Bonjour.cpp:415

References buffer, Slic3r::DnsMessage::MAX_SIZE, and replyfn.

Referenced by Slic3r::LookupSession::LookupSession(), and Slic3r::ResolveSession::ResolveSession().

Here is the caller graph for this function:

◆ ~UdpSession()

virtual Slic3r::UdpSession::~UdpSession ( )
virtualdefault

Member Function Documentation

◆ handle_receive()

virtual void Slic3r::UdpSession::handle_receive ( const boost::system::error_code & error,
size_t bytes )
pure virtual

Implemented in Slic3r::LookupSession, and Slic3r::ResolveSession.

Referenced by Slic3r::UdpSocket::receive_handler().

Here is the caller graph for this function:

Member Data Documentation

◆ buffer

std::vector<char> Slic3r::UdpSession::buffer

◆ remote_endpoint

boost::asio::ip::udp::endpoint Slic3r::UdpSession::remote_endpoint

◆ replyfn


The documentation for this class was generated from the following files:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/Bonjour.hpp
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/Bonjour.cpp