Builder Class

class QKnxNetIpRoutingIndicationProxy ::Builder

The QKnxNetIpRoutingIndicationProxy::Builder class provides the means to create a routing indication frame. 更多...

公共函數

QKnxNetIpFrame create () const
Builder & setCemi (const QKnxLinkLayerFrame & cemi )

詳細描述

A routing indication is sent by a KNXnet/IP router or device to transmit KNX link layer frames over IP networks.

The common way to create a routing indication is:

QKnxLinkLayerFrame linkFrame = // create a link frame ....;
auto netIpframe = QKnxNetIpRoutingIndicationProxy::builder()
    .setCemi(linkFrame)
    .create();
					

If a KNXnet/IP router or device receives a router busy message from another router or device, it immediately stops sending routing indication frames and waits until the time specified in the router busy message has elapsed to resume sending frames.

成員函數文檔編製

QKnxNetIpFrame Builder:: create () const

Creates and returns a KNXnet/IP routing indication frame.

注意: The returned frame may be invalid depending on the values used during setup.

另請參閱 isValid ().

Builder &Builder:: setCemi (const QKnxLinkLayerFrame & cemi )

Sets the cEMI frame within the routing indication frame to cemi and returns a reference to the builder.

該函數在 Qt 5.12 引入。