QKnxNetIpHpai Class

The QKnxNetIpHpai class uniquely identifies an IP transport connection endpoint. More...

Header: #include <QKnxNetIpHpai>
qmake: QT += knx

Public Functions

QKnxNetIpHpai() = default
QKnxNetIpHpai(const QHostAddress &address, quint16 port)
QKnxNetIpHpai(QKnxNetIp::HostProtocol hpc, const QHostAddress &address, quint16 port)
~QKnxNetIpHpai() override = default
QHostAddress address() const
QKnxNetIp::HostProtocol hostProtocol() const
bool isValid() const override
quint16 port() const
void setAddress(const QHostAddress &hostAddress)
void setHostProtocol(QKnxNetIp::HostProtocol code)
void setHpai(QKnxNetIp::HostProtocol code, const QHostAddress &hostAddress, quint16 port)
void setPort(quint16 port)

Static Public Members

QKnxNetIpHpai fromBytes(const T &bytes, quint16 index)

Detailed Description

The QKnxNetIpHpai class uniquely identifies an IP transport connection endpoint.

The information needed to identify an IP transport connection endpoint includes the Network Layer address and the Transport Layer identifier called port number.

Member Function Documentation

[default] QKnxNetIpHpai::QKnxNetIpHpai()

Default constructs an instance of QKnxNetIpHpai.

QKnxNetIpHpai::QKnxNetIpHpai(const QHostAddress &address, quint16 port)

Default constructs an instance of QKnxNetIpHpai.

QKnxNetIpHpai::QKnxNetIpHpai(QKnxNetIp::HostProtocol hpc, const QHostAddress &address, quint16 port)

Default constructs an instance of QKnxNetIpHpai.

[default] QKnxNetIpHpai::~QKnxNetIpHpai()

Destroys the instance of QKnxNetIpHpai.

QHostAddress QKnxNetIpHpai::address() const

See also setAddress().

[static] QKnxNetIpHpai QKnxNetIpHpai::fromBytes(const T &bytes, quint16 index)

QKnxNetIp::HostProtocol QKnxNetIpHpai::hostProtocol() const

See also setHostProtocol().

bool QKnxNetIpHpai::isValid() const

quint16 QKnxNetIpHpai::port() const

See also setPort().

void QKnxNetIpHpai::setAddress(const QHostAddress &hostAddress)

See also address().

void QKnxNetIpHpai::setHostProtocol(QKnxNetIp::HostProtocol code)

See also hostProtocol().

void QKnxNetIpHpai::setHpai(QKnxNetIp::HostProtocol code, const QHostAddress &hostAddress, quint16 port)

void QKnxNetIpHpai::setPort(quint16 port)

See also port().

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.