public class FrameProcessor
extends io.netty.channel.ChannelDuplexHandler
Constructor and Description |
---|
FrameProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
protected void |
handleOpen(io.netty.channel.ChannelHandlerContext ctx,
Frame frame) |
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise) |
protected void |
writeGenericResponse(io.netty.channel.ChannelHandlerContext ctx,
AbstractGenericResponse msg,
io.netty.channel.ChannelPromise promise) |
protected void |
writeOpenResponse(io.netty.channel.ChannelHandlerContext ctx,
OpenResponse msg,
io.netty.channel.ChannelPromise promise) |
bind, close, connect, deregister, disconnect, flush, read
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
handlerAdded, handlerRemoved, isSharable
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void write(io.netty.channel.ChannelHandlerContext ctx, Object msg, io.netty.channel.ChannelPromise promise) throws Exception
write
in interface io.netty.channel.ChannelOutboundHandler
write
in class io.netty.channel.ChannelDuplexHandler
Exception
protected void writeGenericResponse(io.netty.channel.ChannelHandlerContext ctx, AbstractGenericResponse msg, io.netty.channel.ChannelPromise promise)
protected void writeOpenResponse(io.netty.channel.ChannelHandlerContext ctx, OpenResponse msg, io.netty.channel.ChannelPromise promise)
protected void handleOpen(io.netty.channel.ChannelHandlerContext ctx, Frame frame)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.