Package org.dcache.xrootd.tpc
Class TpcSigverRequestEncoder
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelOutboundHandlerAdapter
-
- org.dcache.xrootd.tpc.TpcSigverRequestEncoder
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelOutboundHandler
public class TpcSigverRequestEncoder extends io.netty.channel.ChannelOutboundHandlerAdapterChecks to see if the protocol security context requires the particular message to be preceded by a signing verification request, and returns one if so. If the encrypter isnull, unencrypted hashes are sent.
-
-
Constructor Summary
Constructors Constructor Description TpcSigverRequestEncoder(BufferEncrypter encrypter, SigningPolicy signingLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object msg, io.netty.channel.ChannelPromise promise)-
Methods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, read
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Constructor Detail
-
TpcSigverRequestEncoder
public TpcSigverRequestEncoder(BufferEncrypter encrypter, SigningPolicy signingLevel)
-
-
Method Detail
-
write
public void write(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object msg, io.netty.channel.ChannelPromise promise) throws java.lang.Exception- Specified by:
writein interfaceio.netty.channel.ChannelOutboundHandler- Overrides:
writein classio.netty.channel.ChannelOutboundHandlerAdapter- Throws:
java.lang.Exception
-
-