在介绍ForCES路由器体系架构的基础上,详细说明了ForCES路由器中事件通知服务的研究与实现,并使用双链表来实现ForCES路由器中事件异步通知功能。文章还介绍了ForCES路由器的两个相关特点:①简化的事件订阅与取消订阅;②简单易行的过滤标准。最后,进行了关于端口链路状态事件的测试,其结果证明了ForCES路由器中事件通知服务的可行性。
On the basis of the introduction of the ForCES router architecture, this paper elaborates the research and implementation of the event notification service in ForCES routers. The event asynchronous notification of ForCES touters is implemented by using double linked list. Also,two relative features of ForCES routers are illustrated : (1)the simplification of the events subscription and unsubscription, (2)tbe simplification and effectiveness of the filtering criteria. Finally, this paper has carried out a test of the port link status event,whose result testifies the feasibility of the event notification service of ForCES routers.