T - The type of the Document that this handler handlesS - The type of Edits that this handler handlespublic class DiffSyncClientHandler<T,S extends Edit<? extends Diff>>
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.websocketx.WebSocketFrame>
WebSocketFrames.
This handle takes care of the client side message processing for AeroGear Sync Server.
| Constructor and Description |
|---|
DiffSyncClientHandler(ClientSyncEngine<T,S> syncEngine) |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
protected void |
messageReceived(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.websocketx.WebSocketFrame frame) |
acceptInboundMessage, channelReadbind, channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, flush, handlerAdded, handlerRemoved, isSharable, read, userEventTriggered, writepublic DiffSyncClientHandler(ClientSyncEngine<T,S> syncEngine)
protected void messageReceived(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.websocketx.WebSocketFrame frame)
throws Exception
messageReceived in class io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.websocketx.WebSocketFrame>ExceptionCopyright © 2015 JBoss by Red Hat. All Rights Reserved.