Builder ClassClass Builder is declared in class QKnxNetIpConnectResponseProxy.
|Builder &||setChannelId(quint8 channelId)|
|Builder &||setDataEndpoint(const QKnxNetIpHpai &hpai)|
|Builder &||setResponseData(const QKnxNetIpCrd &crd)|
|Builder &||setStatus(QKnxNetIp::Error status)|
A KNXnet/IP connection response contains the status of the corresponding connection request. If the server accepted the request, the frame also contains an identifier and the host address protocol information (HPAI) of the data endpoint that the server prepared for the communication channel.
The common way to create a connection response is:
Member Function Documentation
QKnxNetIpFrame Builder::create() const
Creates and returns a KNXnet/IP connection response frame.
Note: The returned frame may be invalid depending on the values used during setup.
See also isValid().
Sets the ID of the communication channel prepared by the KNXnet/IP server to channelId and returns a reference to the builder.
Builder &Builder::setDataEndpoint(const QKnxNetIpHpai &hpai)
Sets the data endpoint of the KNXnet/IP server to hpai and returns a reference to the builder.
Builder &Builder::setResponseData(const QKnxNetIpCrd &crd)
Sets the connection response data (CRD) to crd and returns a reference to the builder.
Builder &Builder::setStatus(QKnxNetIp::Error status)
Sets the status of the connection request received from a KNXnet/IP client to status and returns a reference to the builder.
© 2019 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.