com.hs.mail.imap.server
Class ImapServerHandler
java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
com.hs.mail.imap.server.ImapServerHandler
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
@ChannelPipelineCoverage(value="one")
public class ImapServerHandler
- extends org.jboss.netty.channel.SimpleChannelUpstreamHandler
Handles a server-side IMAP channel.
- Since:
- Jan 12, 2010
- Author:
- Won Chul Doh
Method Summary |
void |
channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
|
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
|
void |
handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelEvent e)
|
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
|
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler |
channelBound, channelClosed, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, writeComplete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImapServerHandler
public ImapServerHandler()
handleUpstream
public void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelEvent e)
throws Exception
- Specified by:
handleUpstream
in interface org.jboss.netty.channel.ChannelUpstreamHandler
- Overrides:
handleUpstream
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
- Throws:
Exception
channelConnected
public void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
- Overrides:
channelConnected
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
- Throws:
Exception
messageReceived
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
- Overrides:
messageReceived
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
exceptionCaught
public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
- Overrides:
exceptionCaught
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
Copyright © 2011. All Rights Reserved.