消息机制是面向对象系统和面向对象语言的基本特性,中间件的异步消息通信方式在现今异构、分布式的网络环境中异步通信得到了广泛应用。结合 GUI 框架对异步消息通信原理做了剖析,对其核心框架回调技术做了原理挖掘并不依赖语言、框架给出了实现,最后给出了异步通信的应用范畴分析,指出即使在单宿主机内的对象间通信,采用异步消息通信可改善性能及帮助解决某些基本和特殊问题。
Messaging mechanism is a basic attribute of OO system & OO language. Asynchronous messaging mechanism using middleware is widely spread among heterogeneous and distributive network environment. Combined with GUI framework, a powerful study of multi-procedure asynchronous messaging mechanism was made. Then this paper explored the principle and realized the core callback technology without any framework or developing language. At last it fully analyzed the field of asynchronous messaging application, pointed out that even in single host inner-communication, asynchronous messaging can improve performance better and help to solve some basic and special questions.