org.apache.ftpserver.remote.adapter
Class FtpConnectionObserverAdapter

java.lang.Object
  extended byorg.apache.ftpserver.remote.adapter.FtpConnectionObserverAdapter
All Implemented Interfaces:
FtpConnectionObserver

public class FtpConnectionObserverAdapter
extends java.lang.Object
implements FtpConnectionObserver

This connection observer remote adapter class.

Author:
Rana Bhattacharyya

Constructor Summary
FtpConnectionObserverAdapter()
          Default constructor.
 
Method Summary
 FtpConnectionObserver getConnectionObserver()
          Get observer
 void newConnection(FtpUser user)
          New connection notification.
 void removeConnection(FtpUser user)
          Close connection notification
 void setConnectionObserver(FtpConnectionObserver observer)
          Set observer
 void updateConnection(FtpUser user)
          Update connection notification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FtpConnectionObserverAdapter

public FtpConnectionObserverAdapter()
Default constructor.

Method Detail

getConnectionObserver

public FtpConnectionObserver getConnectionObserver()
Get observer


setConnectionObserver

public void setConnectionObserver(FtpConnectionObserver observer)
Set observer


newConnection

public void newConnection(FtpUser user)
New connection notification.

Specified by:
newConnection in interface FtpConnectionObserver
Parameters:
user - newly connected user

removeConnection

public void removeConnection(FtpUser user)
Close connection notification

Specified by:
removeConnection in interface FtpConnectionObserver
Parameters:
user - closed user object.

updateConnection

public void updateConnection(FtpUser user)
Update connection notification

Specified by:
updateConnection in interface FtpConnectionObserver
Parameters:
user - updated user object


Copyright © 2001-2007 Codehaus. All Rights Reserved.