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() |
protected void |
evaluatePreStep(ScenarioContext context) |
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, channelReadchannelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableprotected 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>Exceptionprotected void evaluatePreStep(ScenarioContext context)
public ExecutionHook create()
create in interface ExecutionHookFactoryprotected 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.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelActive(io.netty.channel.ChannelHandlerContext ctx)
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2020. All rights reserved.