I want to implement a kind of buffer in my little program. In case the network is overloaded this buffer shall store all packets until the network is working fine again.
Im intercepting all packets with the PacketInterception Interface and writing them to an array, works fine for now. But I haven’t found a possibility to reject those intercepted messages yet, Smack still sends them. Does anyone have any suggestions?
Thanks in advance.