public class WorldClockClientHandler extends io.netty.channel.ChannelInboundMessageHandlerAdapter<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 msg) |
acceptInboundMessage, beginMessageReceived, endMessageReceived, freeInboundBuffer, inboundBufferUpdated, newInboundBufferchannelActive, channelInactive, channelReadSuspended, channelUnregisteredafterAdd, afterRemove, beforeAdd, beforeRemove, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic List<String> getLocalTimes(Collection<String> cities)
public void channelRegistered(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelRegistered in interface io.netty.channel.ChannelStateHandlerchannelRegistered in class io.netty.channel.ChannelStateHandlerAdapterExceptionpublic void messageReceived(io.netty.channel.ChannelHandlerContext ctx,
WorldClockProtocol.LocalTimes msg)
throws Exception
messageReceived in class io.netty.channel.ChannelInboundMessageHandlerAdapter<WorldClockProtocol.LocalTimes>ExceptionCopyright © 2008-2013 The Netty Project. All Rights Reserved.