
public class LocalExecServerHandler extends io.netty.channel.SimpleChannelInboundHandler<String>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
answered |
protected LocalExecServerInitializer |
factory |
protected static boolean |
isShutdown |
| Constructor and Description |
|---|
LocalExecServerHandler(LocalExecServerInitializer factory,
long newdelay)
Constructor with a specific delay
|
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
String msg) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
static boolean |
isShutdown(io.netty.channel.Channel channel)
Is the Local Exec Server going Shutdown
|
static void |
junitSetNotShutdown() |
void |
setNewDelay(long newdelay)
Change the delay to the specific value.
|
acceptInboundMessage, channelReadchannelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableprotected final LocalExecServerInitializer factory
protected static boolean isShutdown
protected boolean answered
public LocalExecServerHandler(LocalExecServerInitializer factory, long newdelay)
newdelay - public static boolean isShutdown(io.netty.channel.Channel channel)
channel - associated channelpublic static void junitSetNotShutdown()
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class io.netty.channel.ChannelInboundHandlerAdapterpublic final void setNewDelay(long newdelay)
newdelay - protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
String msg)
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<String>public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2009–2022 Waarp. All rights reserved.