org.apache.ftpserver.command.impl
Class QUIT

java.lang.Object
  extended by org.apache.ftpserver.command.AbstractCommand
      extended by org.apache.ftpserver.command.impl.QUIT
All Implemented Interfaces:
Command

public class QUIT
extends AbstractCommand

Internal class, do not use directly. QUIT <CRLF>
This command terminates a USER and if file transfer is not in progress, the server closes the control connection.

Version:
$Rev: 725462 $, $Date: 2008-12-10 23:13:23 +0100 (Wed, 10 Dec 2008) $
Author:
The Apache MINA Project (dev@mina.apache.org)

Constructor Summary
QUIT()
           
 
Method Summary
 void execute(FtpIoSession session, FtpServerContext context, FtpRequest request)
          Execute command
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QUIT

public QUIT()
Method Detail

execute

public void execute(FtpIoSession session,
                    FtpServerContext context,
                    FtpRequest request)
             throws java.io.IOException
Execute command

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


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.