public class SpdySessionHandler extends io.netty.channel.ChannelHandlerAdapter implements io.netty.channel.ChannelInboundMessageHandler<Object>, io.netty.channel.ChannelOutboundMessageHandler<Object>
| Constructor and Description |
|---|
SpdySessionHandler(int version,
boolean server)
Creates a new session handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelFuture future) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
flush(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelFuture future) |
void |
inboundBufferUpdated(io.netty.channel.ChannelHandlerContext ctx) |
io.netty.buffer.MessageBuf<Object> |
newInboundBuffer(io.netty.channel.ChannelHandlerContext ctx) |
io.netty.buffer.MessageBuf<Object> |
newOutboundBuffer(io.netty.channel.ChannelHandlerContext ctx) |
bind, connect, deregister, disconnectafterAdd, afterRemove, beforeAdd, beforeRemove, channelActive, channelInactive, channelRegistered, channelUnregistered, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchannelActive, channelInactive, channelRegistered, channelUnregisteredpublic SpdySessionHandler(int version,
boolean server)
version - the protocol versionserver - true if and only if this session handler should
handle the server endpoint of the connection.
false if and only if this session handler should
handle the client endpoint of the connection.public io.netty.buffer.MessageBuf<Object> newInboundBuffer(io.netty.channel.ChannelHandlerContext ctx) throws Exception
public io.netty.buffer.MessageBuf<Object> newOutboundBuffer(io.netty.channel.ChannelHandlerContext ctx) throws Exception
public void inboundBufferUpdated(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
inboundBufferUpdated in interface io.netty.channel.ChannelStateHandlerinboundBufferUpdated in class io.netty.channel.ChannelStateHandlerAdapterExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in class io.netty.channel.ChannelStateHandlerAdapterExceptionpublic void close(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelFuture future)
throws Exception
close in interface io.netty.channel.ChannelOperationHandlerclose in class io.netty.channel.ChannelHandlerAdapterExceptionCopyright © 2008-2012 The Netty Project. All Rights Reserved.