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 引入。