Poco::DNSSD

class Domain

File Information

Library: DNSSD
Package: Core
Header: Poco/DNSSD/Domain.h

Description

Domain stores information about a browse domain.

Member Summary

Member Functions: isDefault, name, networkInterface

Constructors

Domain

Domain();

Creates an empty Domain.

Domain

Domain(
    Poco::Int32 networkInterface,
    const std::string & name,
    bool isDefault
);

Creates a Domain using the given information.

  • networkInterface specifies the index of the interface the domain was discovered on.
  • name specifies the name of the domain.
  • isDefault specifies whether the domain is the default domain.

Destructor

~Domain

~Domain();

Destroys the Domain.

Member Functions

isDefault inline

bool isDefault() const;

Returns true if the domain is the default domain.

name inline

const std::string & name() const;

Returns the name of the domain.

networkInterface inline

Poco::Int32 networkInterface() const;

Returns the index of the network interface the domain was discovered on.

Securely control IoT edge devices from anywhere   Connect a Device