public class WorldClockClientHandler extends io.netty.channel.SimpleChannelInboundHandler<WorldClockProtocol.LocalTimes>
| Constructor and Description |
|---|
WorldClockClientHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRegistered(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
List<String> |
getLocalTimes(Collection<String> cities) |
void |
messageReceived(io.netty.channel.ChannelHandlerContext ctx,
WorldClockProtocol.LocalTimes times) |
acceptInboundMessage, channelReadpublic List<String> getLocalTimes(Collection<String> cities)
public void channelRegistered(io.netty.channel.ChannelHandlerContext ctx)
channelRegistered in interface io.netty.channel.ChannelHandlerchannelRegistered in class io.netty.channel.ChannelHandlerAdapterpublic void messageReceived(io.netty.channel.ChannelHandlerContext ctx,
WorldClockProtocol.LocalTimes times)
messageReceived in class io.netty.channel.SimpleChannelInboundHandler<WorldClockProtocol.LocalTimes>public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in class io.netty.channel.ChannelHandlerAdapterCopyright © 2008–2015 The Netty Project. All rights reserved.