io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandlerpublic class SimpleTcpClientHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
SimpleTcpServer.| Modifier and Type | Field | Description |
|---|---|---|
static org.slf4j.Logger |
LOG |
|
protected XDR |
request |
| Constructor | Description |
|---|---|
SimpleTcpClientHandler(XDR request) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object msg) |
Shutdown connection by default.
|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause) |
channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic static final org.slf4j.Logger LOG
protected final XDR request
public SimpleTcpClientHandler(XDR request)
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws java.lang.Exception
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class io.netty.channel.ChannelInboundHandlerAdapterjava.lang.Exceptionpublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object msg)
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2008–2025 Apache Software Foundation. All rights reserved.