@ChannelHandler.Sharable
public class NettyHandler
extends org.jboss.netty.channel.SimpleChannelHandler
| 构造器和说明 |
|---|
NettyHandler(URL url,
ChannelHandler handler) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
channelDisconnected(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) |
Map<String,Channel> |
getChannels() |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
void |
writeRequested(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
bindRequested, channelBound, channelClosed, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, handleDownstream, handleUpstream, setInterestOpsRequested, unbindRequested, writeCompletepublic NettyHandler(URL url, ChannelHandler handler)
public void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelConnected 在类中 org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelDisconnected 在类中 org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
throws Exception
messageReceived 在类中 org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void writeRequested(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
throws Exception
writeRequested 在类中 org.jboss.netty.channel.SimpleChannelHandlerExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.