Class SaslDecoderEncoder
- java.lang.Object
-
- org.infinispan.client.hotrod.impl.transport.netty.SaslDecoderEncoder
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
,io.netty.channel.ChannelOutboundHandler
,ChannelInboundHandlerDefaults
,ChannelOutboundHandlerDefaults
public class SaslDecoderEncoder extends Object implements ChannelInboundHandlerDefaults, ChannelOutboundHandlerDefaults
-
-
Constructor Summary
Constructors Constructor Description SaslDecoderEncoder(SaslClient saslClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)
void
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
void
handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
void
handlerRemoved(io.netty.channel.ChannelHandlerContext ctx)
void
write(io.netty.channel.ChannelHandlerContext ctx, Object msg, io.netty.channel.ChannelPromise promise)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.client.hotrod.impl.transport.netty.ChannelInboundHandlerDefaults
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
-
Methods inherited from interface org.infinispan.client.hotrod.impl.transport.netty.ChannelOutboundHandlerDefaults
bind, close, connect, deregister, disconnect, flush, read
-
-
-
-
Constructor Detail
-
SaslDecoderEncoder
public SaslDecoderEncoder(SaslClient saslClient)
-
-
Method Detail
-
channelRead
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
- Specified by:
channelRead
in interfaceio.netty.channel.ChannelInboundHandler
- Specified by:
channelRead
in interfaceChannelInboundHandlerDefaults
- Throws:
Exception
-
write
public void write(io.netty.channel.ChannelHandlerContext ctx, Object msg, io.netty.channel.ChannelPromise promise) throws Exception
- Specified by:
write
in interfaceio.netty.channel.ChannelOutboundHandler
- Specified by:
write
in interfaceChannelOutboundHandlerDefaults
- Throws:
Exception
-
exceptionCaught
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception
- Specified by:
exceptionCaught
in interfaceio.netty.channel.ChannelHandler
- Specified by:
exceptionCaught
in interfaceio.netty.channel.ChannelInboundHandler
- Specified by:
exceptionCaught
in interfaceChannelInboundHandlerDefaults
- Specified by:
exceptionCaught
in interfaceChannelOutboundHandlerDefaults
- Throws:
Exception
-
handlerAdded
public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx) throws Exception
- Specified by:
handlerAdded
in interfaceio.netty.channel.ChannelHandler
- Specified by:
handlerAdded
in interfaceChannelInboundHandlerDefaults
- Specified by:
handlerAdded
in interfaceChannelOutboundHandlerDefaults
- Throws:
Exception
-
handlerRemoved
public void handlerRemoved(io.netty.channel.ChannelHandlerContext ctx) throws Exception
- Specified by:
handlerRemoved
in interfaceio.netty.channel.ChannelHandler
- Specified by:
handlerRemoved
in interfaceChannelInboundHandlerDefaults
- Specified by:
handlerRemoved
in interfaceChannelOutboundHandlerDefaults
- Throws:
Exception
-
-