Public Member Functions | Public Attributes
zeroconf_avahi::DiscoveredAvahiService Class Reference

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

#include <zeroconf.hpp>

List of all members.

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

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.

Definition at line 91 of file zeroconf.hpp.


Member Data Documentation

Definition at line 100 of file zeroconf.hpp.

Definition at line 99 of file zeroconf.hpp.

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 Fri Aug 28 2015 13:44:14