ftpstatisticslistener.java

来自「一个利用Java语言实现的ftp程序」· Java 代码 · 共 49 行

JAVA
49
字号
/*
 * Copyright (C) The Apache Software Foundation. All rights reserved.
 *
 * This software is published under the terms of the Apache Software License
 * version 1.1, a copy of which has been included with this distribution in
 * the LICENSE file.
 */
package server.ftp;


/**
 * Ftp statistics listener interface.
 *
 * @author <a href="mailto:rana_b@yahoo.com">Rana Bhattacharyya</a>
 */
public 
interface FtpStatisticsListener {
     /**
     * User file upload notification.
     */
    void notifyUpload();
    
    /**
     * User file download notification.
     */
    void notifyDownload();
    
    /**
     * User file delete notification.
     */
    void notifyDelete();
     
    /**
     * New user login notification.
     */
    void notifyLogin();
    
    /**
     * User logout notification.
     */
    void notifyLogout();
    
    /**
     * Connection open/close notification
     */
    void notifyConnection(); 

}    

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?