public class DapServerHandler extends io.netty.channel.SimpleChannelInboundHandler<DapMessage> implements ExecutionHookFactory
Modifier and Type | Field and Description |
---|---|
protected Map<Long,ScenarioContext> |
FRAMES |
protected Map<Long,DebugThread> |
THREADS |
Constructor and Description |
---|
DapServerHandler(DapServer server) |
Modifier and Type | Method and Description |
---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
DapMessage dm) |
protected void |
continueEvent(long threadId) |
ExecutionHook |
create() |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
protected boolean |
isBreakpoint(Step step,
int line) |
protected long |
nextFrameId() |
protected void |
output(String text) |
protected void |
stopEvent(long threadId,
String reason,
String description) |
acceptInboundMessage, channelRead
channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
protected final Map<Long,DebugThread> THREADS
protected final Map<Long,ScenarioContext> FRAMES
public DapServerHandler(DapServer server)
protected boolean isBreakpoint(Step step, int line)
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx, DapMessage dm) throws Exception
channelRead0
in class io.netty.channel.SimpleChannelInboundHandler<DapMessage>
Exception
public ExecutionHook create()
create
in interface ExecutionHookFactory
protected void continueEvent(long threadId)
protected long nextFrameId()
protected void output(String text)
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
channelActive
in interface io.netty.channel.ChannelInboundHandler
channelActive
in class io.netty.channel.ChannelInboundHandlerAdapter
Copyright © 2020. All rights reserved.