但我真的很困惑,因为我看到我可以发送消息作为apacket或消息我也可以使用PacketListener和MessageListener接收消息.
什么是PacketListener和MessageListener之间的区别,哪种接收消息的好方法?使用数据包监听器或消息监听器?