Public Member Functions | Public Attributes | List of all members
zeroconf_avahi::DiscoveredAvahiService Class Reference

Internal storage for linking discovered service info with active avahi resolvers. More...

#include <zeroconf.hpp>

Public Member Functions

 DiscoveredAvahiService ()
 
 DiscoveredAvahiService (zeroconf_msgs::DiscoveredService &discovered_service, AvahiServiceResolver *new_resolver, int protocol, int hardware_interface)
 
 ~DiscoveredAvahiService ()
 

Public Attributes

int hardware_interface
 
int protocol
 
AvahiServiceResolver * resolver
 
zeroconf_msgs::DiscoveredService service
 

Detailed Description

Internal storage for linking discovered service info with active avahi resolvers.

It's important that a discovered service not only records all its characteristics, but keeps it's resolver open so that it can update if the remote end disconnects, reconnects or even disconnects and is then superceded by a new connection.

This might need a copy constructor since its getting passed around by an stl container.

Definition at line 78 of file zeroconf.hpp.

Constructor & Destructor Documentation

zeroconf_avahi::DiscoveredAvahiService::DiscoveredAvahiService ( )
inline

Definition at line 81 of file zeroconf.hpp.

zeroconf_avahi::DiscoveredAvahiService::DiscoveredAvahiService ( zeroconf_msgs::DiscoveredService &  discovered_service,
AvahiServiceResolver *  new_resolver,
int  protocol,
int  hardware_interface 
)
inline

Definition at line 85 of file zeroconf.hpp.

zeroconf_avahi::DiscoveredAvahiService::~DiscoveredAvahiService ( )
inline

Definition at line 91 of file zeroconf.hpp.

Member Data Documentation

int zeroconf_avahi::DiscoveredAvahiService::hardware_interface

Definition at line 100 of file zeroconf.hpp.

int zeroconf_avahi::DiscoveredAvahiService::protocol

Definition at line 99 of file zeroconf.hpp.

AvahiServiceResolver* zeroconf_avahi::DiscoveredAvahiService::resolver

Definition at line 101 of file zeroconf.hpp.

zeroconf_msgs::DiscoveredService zeroconf_avahi::DiscoveredAvahiService::service

Definition at line 98 of file zeroconf.hpp.


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


zeroconf_avahi
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 15:49:04