org.apache.ftpserver.command.impl
Class MODE

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

public class MODE
extends AbstractCommand

Internal class, do not use directly. MODE <SP> <CRLF>
The argument is a single Telnet character code specifying the data transfer modes described in the Section on Transmission Modes.

Author:
Apache MINA Project

Constructor Summary
MODE()
           
 
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

MODE

public MODE()
Method Detail

execute

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

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


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