org.apache.ftpserver.remote.interfaces
Interface FtpConnectionObserver

All Superinterfaces:
java.rmi.Remote

public interface FtpConnectionObserver
extends java.rmi.Remote

This observer interface monitors all the ftp connections.

Author:
Rana Bhattacharyya

Method Summary
 void newConnection(FtpUser user)
          New connection notification.
 void removeConnection(FtpUser user)
          Close connection notification
 void updateConnection(FtpUser user)
          Update connection notification
 

Method Detail

newConnection

public void newConnection(FtpUser user)
                   throws java.rmi.RemoteException
New connection notification.

Parameters:
user - new connected user.
Throws:
java.rmi.RemoteException

removeConnection

public void removeConnection(FtpUser user)
                      throws java.rmi.RemoteException
Close connection notification

Parameters:
user - closed user object
Throws:
java.rmi.RemoteException

updateConnection

public void updateConnection(FtpUser user)
                      throws java.rmi.RemoteException
Update connection notification

Parameters:
user - updated user
Throws:
java.rmi.RemoteException


Copyright © 2001-2007 Codehaus. All Rights Reserved.