Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在服务器端,CometD 提供了一个 MaxQueueListener 钩子来丢弃消息,但是如果 Bayeux 客户端想要停止从服务器接收消息而不断开连接,它可以实现吗?
ABayeuxClient仅从服务器接收其订阅的频道的消息。
BayeuxClient
停止从BayeuxClient服务器接收消息足以取消订阅它订阅的所有频道。
仍然会在属于 Bayeux 协议的通道上BayeuxClient接收meta消息meta,但服务器不会传递任何应用程序消息。
meta