public class WorldClockClientHandler extends io.netty.channel.SimpleChannelInboundHandler<WorldClockProtocol.LocalTimes>
| Constructor and Description |
|---|
WorldClockClientHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
WorldClockProtocol.LocalTimes times) |
void |
channelRegistered(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
List<String> |
getLocalTimes(Collection<String> cities) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic List<String> getLocalTimes(Collection<String> cities)
public void channelRegistered(io.netty.channel.ChannelHandlerContext ctx)
channelRegistered in interface io.netty.channel.ChannelInboundHandlerchannelRegistered in class io.netty.channel.ChannelInboundHandlerAdapterpublic void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
WorldClockProtocol.LocalTimes times)
throws Exception
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<WorldClockProtocol.LocalTimes>Exceptionpublic 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 © 2008–2018 The Netty Project. All rights reserved.