ArnLib
4.0.x
Active Registry Network
|
Base class for Zero Config. More...
#include <ArnZeroConf.hpp>
Public Member Functions | |
ArnZeroConfB (QObject *parent=arnNullptr) | |
virtual | ~ArnZeroConfB () |
QAbstractSocket::SocketType | socketType () const |
Returns the socket type for this Zero Config. More... | |
void | setSocketType (QAbstractSocket::SocketType type) |
Sets the socket type for this Zero Config. More... | |
QString | serviceType () const |
Returns the service type for this Zero Config. More... | |
void | setServiceType (const QString &type) |
Returns the service type for this Zero Config. More... | |
QString | domain () const |
Returns the domain for this Zero Config. More... | |
void | setDomain (const QString &domain) |
Sets the domain for this Zero Config. More... | |
ArnZeroConf::State | state () const |
Returns the current state of the service. More... | |
QString | fullServiceType () const |
Returns the full service type for this Zero Config. More... | |
Base class for Zero Config.
This class contains methods and data which is usually a superset, i.e. not all data will be relevant / available for all uses.
Definition at line 112 of file ArnZeroConf.hpp.
ArnZeroConfB::ArnZeroConfB | ( | QObject * | parent = arnNullptr | ) |
Definition at line 85 of file ArnZeroConf.cpp.
|
virtual |
Definition at line 104 of file ArnZeroConf.cpp.
QString ArnZeroConfB::domain | ( | ) | const |
Returns the domain for this Zero Config.
Definition at line 295 of file ArnZeroConf.cpp.
QString ArnZeroConfB::fullServiceType | ( | ) | const |
Returns the full service type for this Zero Config.
Service types are standardized by IANA.
The full service type is the standard format used by the Zeroconf specification, e.g. "_arn._tcp".
Definition at line 330 of file ArnZeroConf.cpp.
QString ArnZeroConfB::serviceType | ( | ) | const |
Returns the service type for this Zero Config.
Definition at line 266 of file ArnZeroConf.cpp.
void ArnZeroConfB::setDomain | ( | const QString & | domain | ) |
Sets the domain for this Zero Config.
Default set by this class is "local.".
[in] | domain |
Definition at line 301 of file ArnZeroConf.cpp.
void ArnZeroConfB::setServiceType | ( | const QString & | type | ) |
Returns the service type for this Zero Config.
Service types are standardized by IANA.
The service type used here can be a name, like "arn", or the standard format used by the Zeroconf specification, e.g. "_arn._tcp".
[in] | type | is the service type (se above). |
Definition at line 272 of file ArnZeroConf.cpp.
void ArnZeroConfB::setSocketType | ( | QAbstractSocket::SocketType | type | ) |
Sets the socket type for this Zero Config.
Allowed Socket type is: QAbstractSocket::TcpSocket, QAbstractSocket::UdpSocket.
[in] | type | is one of the allowed types. |
Definition at line 260 of file ArnZeroConf.cpp.
QAbstractSocket::SocketType ArnZeroConfB::socketType | ( | ) | const |
Returns the socket type for this Zero Config.
Definition at line 254 of file ArnZeroConf.cpp.
ArnZeroConf::State ArnZeroConfB::state | ( | ) | const |
Returns the current state of the service.
the | state of the service |
Definition at line 193 of file ArnZeroConf.cpp.