摘要
针对大型网络服务器中命令行程序缺乏统一、不支持多层命令解析等问题,在集成Commons CLI的基础上,提出命令管理器的概念,利用命令调用器从命令类中分离出命令处理策略,简化了命令实现逻辑,提出了一种多层次命令行解析框架,并介绍了框架的主要组成和操作。最后对框架的兼容性、扩展性和灵活性等方面进行了分析。
Based on integrating commons CLI, a command line framework to solve the problem is presented that command line programs are not unified and not able to support multilayer command parsing in large network server. The concept of command manager is brought forward and command caller is used to separate the command processing strategy from command class, so it may make the logic of com- mand implementation simple. And then, the main structure and operations of the framework is introduced. At last, the compatibility, extensibility and flexibility of the fi-amework are analysed.
出处
《计算机工程与设计》
CSCD
北大核心
2007年第16期3903-3905,共3页
Computer Engineering and Design