Flex/Flash NetConnection 和消费者/生产者的区别
Flex 中的 NetConnection 和消费者/生产者之间有什么区别?看起来他们都使用 RTMP,但 Consumer/Producer 使用 Channels 而 NetConnection 不使用。消费者/生产者是否在底层使用 NetConnection?
What's the difference between a NetConnection and Consumer/Producer in Flex? It seems that they both use RTMP but Consumer/Producer uses Channels and NetConnection does not. Does the Consumer/Producer uses a NetConnection underneath?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
NetConnection 是一个低级 Flash Player 类,它支持 Flash Player 和服务器之间的双向通信。 RMI(远程对象)和消息传递(生产者/消费者)实现都在其通道中使用 NetConnection 来执行与服务器之间的实际通信。
NetConnection is a low-level Flash Player class that enables bidirectional communication between the Flash Player and a server. Both the RMI (remote objects) and Messaging (producer/consumer) implementations use NetConnection in their channels to do the actual communication to and from the server.