摘要
有限状态机(FSM)是实现任何网络协议的过程中都不可缺少的部分,对其实现技巧的了解,有助于更好地构造协议的操作和实现的模型。本文先简单介绍传统的采用过程性编程的有限状态机的设计技巧,然后再阐述采用面向对象技术的实现方法。
FSM is a part of implement of any netwark protocol.Knowing the technology of its implementation benefits constructing the operations and the model of implementation of a network protocol.This paper firtly introduces the technique of designing FSM by traditional programming and then elaborates the method of implementing FSM by object-oriented technology.
出处
《现代计算机》
2001年第07b期87-89,共3页
Modern Computer