public class XrootdClientEncoder
extends io.netty.channel.ChannelOutboundHandlerAdapter
Downstream ChannelHandler for translating XrootdOutboundRequest
objects into xrootd ByteBuf objects.
Intended to support third-party client requests to a source server.
Checks to see if a signing verfication request needs to precede the actual request, and sends it first if so.
| Modifier and Type | Field and Description |
|---|---|
protected XrootdTpcClient |
client |
| Constructor and Description |
|---|
XrootdClientEncoder(XrootdTpcClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise) |
bind, close, connect, deregister, disconnect, flush, readexceptionCaught, handlerAdded, handlerRemoved, isSharableprotected final XrootdTpcClient client
public XrootdClientEncoder(XrootdTpcClient client)
public void write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise)
throws Exception
write in interface io.netty.channel.ChannelOutboundHandlerwrite in class io.netty.channel.ChannelOutboundHandlerAdapterExceptionCopyright © 2011–2018 dCache.org. All rights reserved.