|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FtpHandler
Internal class, do not use directly.
| Method Summary | |
|---|---|
void |
exceptionCaught(FtpIoSession session,
java.lang.Throwable cause)
Invoked when any exception is thrown by user IoHandler
implementation or by MINA. |
void |
init(FtpServerContext context,
Listener listener)
|
void |
messageReceived(FtpIoSession session,
FtpRequest request)
Invoked when a message is received. |
void |
messageSent(FtpIoSession session,
FtpReply reply)
Invoked when a message written by IoSession.write(Object) is sent
out. |
void |
sessionClosed(FtpIoSession session)
Invoked when a connection is closed. |
void |
sessionCreated(FtpIoSession session)
Invoked from an I/O processor thread when a new connection has been created. |
void |
sessionIdle(FtpIoSession session,
org.apache.mina.core.session.IdleStatus status)
Invoked with the related IdleStatus when a connection becomes
idle. |
void |
sessionOpened(FtpIoSession session)
Invoked when a connection has been opened. |
| Method Detail |
|---|
void init(FtpServerContext context,
Listener listener)
void sessionCreated(FtpIoSession session)
throws java.lang.Exception
java.lang.Exception
void sessionOpened(FtpIoSession session)
throws java.lang.Exception
#sessionCreated(IoSession). The biggest difference from
#sessionCreated(IoSession) is that it's invoked from other thread
than an I/O processor thread once thread modesl is configured properly.
java.lang.Exception
void sessionClosed(FtpIoSession session)
throws java.lang.Exception
java.lang.Exception
void sessionIdle(FtpIoSession session,
org.apache.mina.core.session.IdleStatus status)
throws java.lang.Exception
IdleStatus when a connection becomes
idle. This method is not invoked if the transport type is UDP; it's a
known bug, and will be fixed in 2.0.
java.lang.Exception
void exceptionCaught(FtpIoSession session,
java.lang.Throwable cause)
throws java.lang.Exception
IoHandler
implementation or by MINA. If cause is instanceof
IOException, MINA will close the connection automatically.
java.lang.Exception
void messageReceived(FtpIoSession session,
FtpRequest request)
throws java.lang.Exception
java.lang.Exception
void messageSent(FtpIoSession session,
FtpReply reply)
throws java.lang.Exception
IoSession.write(Object) is sent
out.
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||