Companion

Properties

Link copied to clipboard
Link copied to clipboard
const val MESSAGE_CAP: Int
Link copied to clipboard
const val REGION_PACKET_CAP: Int = 300

The region's own /2/e/ stream (about 100 msg/s on msh/US) is unsubscribed after this many packets.

Functions

Link copied to clipboard
fun filters(regionTopic: String): List<String>

Eight filters in one SUBSCRIBE: the region's own map and packet topics, then 2/map and 2/e one to three levels below it. Never "#": the public broker drops the whole connection for it.

Link copied to clipboard
fun regionPacketFilter(regionTopic: String): String