QtZeroConf
 All Classes Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
ZConfServiceEntry Struct Reference

This struct contains information about a particular Zeroconf service available on the local network. More...

Public Member Functions

QString protocolName () const
bool isValid () const
bool isCached () const
bool isWideArea () const
bool isMulticast () const
bool isLocal () const

Public Attributes

QString ip
QString domain
QString host
uint16_t port
AvahiProtocol protocol
AvahiLookupResultFlags flags

Detailed Description

This struct contains information about a particular Zeroconf service available on the local network.

Member Function Documentation

bool ZConfServiceEntry::isCached ( ) const
inline

Returns true if this response originates from the cache.

bool ZConfServiceEntry::isLocal ( ) const
inline

Returns true if this service resides on and was announced by the local host.

bool ZConfServiceEntry::isMulticast ( ) const
inline

Returns true if this response originates from multicast DNS.

bool ZConfServiceEntry::isWideArea ( ) const
inline

Returns true if this response originates from wide area DNS.

QString ZConfServiceEntry::protocolName ( ) const

A human-readable string representation of the network layer protocol used by this service. Possible values are "IPv4", "IPv6", and "Unspecified".

Member Data Documentation

QString ZConfServiceEntry::domain

The domain associated with this service.

QString ZConfServiceEntry::host

The host name associated with this service.

QString ZConfServiceEntry::ip

A string representation of the IPv4 or IPv6 IP address associated with this service.

uint16_t ZConfServiceEntry::port

The IP port number associated with this service.


The documentation for this struct was generated from the following files: