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
bool isDefault() const;
Returns true if the domain is the default domain.
name
const std::string & name() const;
Returns the name of the domain.
networkInterface
Poco::Int32 networkInterface() const;
Returns the index of the network interface the domain was discovered on.