Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::UdpSession Class Referenceabstract

#include <src/slic3r/Utils/Bonjour.hpp>

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

Public Member Functions

 UdpSession (Bonjour::ReplyFn rfn)
 
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)
618 : replyfn(rfn)
619{
621}
std::vector< char > buffer
Definition Bonjour.hpp:119
Bonjour::ReplyFn replyfn
Definition Bonjour.hpp:122
@ MAX_SIZE
Definition Bonjour.cpp:393

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

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: