org.apache.ftpserver.command
Interface Command

All Known Implementing Classes:
AbstractCommand, NotSupportedCommand

public interface Command

This interface encapsulates all the FTP commands.

Author:
Apache MINA Project

Method Summary
 void execute(org.apache.ftpserver.impl.FtpIoSession session, org.apache.ftpserver.impl.FtpServerContext context, FtpRequest request)
          Execute command.
 

Method Detail

execute

void execute(org.apache.ftpserver.impl.FtpIoSession session,
             org.apache.ftpserver.impl.FtpServerContext context,
             FtpRequest request)
             throws java.io.IOException,
                    FtpException
Execute command.

Parameters:
session - The current FtpIoSession
context - The current FtpServerContext
request - The current FtpRequest
Throws:
java.io.IOException
FtpException


Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.