Because you submit a SUBSCRIBE request to a group but not each member of the group, you still receive SIP NOTIFY messages whenever the group changes.
由于向组提交SUBSCRIBE请求,而不是向组的每个成员提交请求,因此仍然能在组发生更改时接收到SIP NOTIFY消息。
When you have to notify multiple object managers of an event at the same time, a publish-subscribe paradigm is best suited for your communication needs.
如果必须将一个事件同时通知多个对象管理器,那么使用发布-订阅模型是最合适的。
The 'On' method will subscribe the client to any "notify event" triggered by the server.
“对”的方法将订阅客户端的任何“通知”事件引发的服务器。
应用推荐