代码搜索结果
找到约 10,000 项符合
State Machine 的代码
state.java
/**
*协议的抽象状态
*将要为每一个状态创建一个类来实现所要求的功能.
*所有状态的类必须继承这个类并提供doIt方法的实现,
*doIt方法在主类中(Sftp.class)循环执行.
*/
public abstract class State {
//实例变量
State next_state;
//在子类中实现,提供所要求的功能
abstract S
state.c
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are