i'm actually trying to implement a little piece of software which is responding to the BACnet who-is-router-to-network messages.

But i have not found a way to implement this with the bacnet4j stack. How can i listen for specific messages with the bacnet4j stack? Can I build something like a while-loop which is listening for BACnet-Messages? I've not seen something like this in the Test-Classes.

I will appreciate your help!