org.apache.ftpserver.listener.nio
Class FtpHandlerAdapter
java.lang.Object
org.apache.ftpserver.listener.nio.FtpHandlerAdapter
- All Implemented Interfaces:
- org.apache.mina.core.service.IoHandler
public class FtpHandlerAdapter
- extends Object
- implements org.apache.mina.core.service.IoHandler
Internal class, do not use directly.
Adapter between MINA handler and the FtpHandler
interface
- Author:
- Apache MINA Project *
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FtpHandlerAdapter
public FtpHandlerAdapter(FtpServerContext context,
FtpHandler ftpHandler)
exceptionCaught
public void exceptionCaught(org.apache.mina.core.session.IoSession session,
Throwable cause)
throws Exception
- Specified by:
exceptionCaught
in interface org.apache.mina.core.service.IoHandler
- Throws:
Exception
messageReceived
public void messageReceived(org.apache.mina.core.session.IoSession session,
Object message)
throws Exception
- Specified by:
messageReceived
in interface org.apache.mina.core.service.IoHandler
- Throws:
Exception
messageSent
public void messageSent(org.apache.mina.core.session.IoSession session,
Object message)
throws Exception
- Specified by:
messageSent
in interface org.apache.mina.core.service.IoHandler
- Throws:
Exception
sessionClosed
public void sessionClosed(org.apache.mina.core.session.IoSession session)
throws Exception
- Specified by:
sessionClosed
in interface org.apache.mina.core.service.IoHandler
- Throws:
Exception
sessionCreated
public void sessionCreated(org.apache.mina.core.session.IoSession session)
throws Exception
- Specified by:
sessionCreated
in interface org.apache.mina.core.service.IoHandler
- Throws:
Exception
sessionIdle
public void sessionIdle(org.apache.mina.core.session.IoSession session,
org.apache.mina.core.session.IdleStatus status)
throws Exception
- Specified by:
sessionIdle
in interface org.apache.mina.core.service.IoHandler
- Throws:
Exception
sessionOpened
public void sessionOpened(org.apache.mina.core.session.IoSession session)
throws Exception
- Specified by:
sessionOpened
in interface org.apache.mina.core.service.IoHandler
- Throws:
Exception
getFtpHandler
public FtpHandler getFtpHandler()
setFtpHandler
public void setFtpHandler(FtpHandler handler)
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.