摘要
针对面向对象系统中对象的交互分为调入界面和调出界面,阐述了VB调出界面的2种通信机制,即事件和回调,并对二者进行了详细比较,分析了它们的特点和适用对象,进而通过在基于异步调用的网络监控系统中的应用实例,体现了基于回调机制的对象通信技术对于设计和开发复杂的面向对象系统的重要意义。
There are two kinds of interoperation in object-oriented system: incoming interface and outgoing interface. This article shows two different methods to implement the outgoing interface, events and call-back. That gives the difference between two methods and demonstrates the characteristic and objects in application of two communications. The application in asynchronous processing also emphatically shows the importance of object communication based on call-back in developing and designing complex system.
出处
《河北工业科技》
CAS
2006年第2期108-111,119,共5页
Hebei Journal of Industrial Science and Technology