Class OutboundAuthenticationRequest
- java.lang.Object
-
- org.dcache.xrootd.tpc.protocol.messages.AbstractXrootdOutboundRequest
-
- org.dcache.xrootd.tpc.protocol.messages.OutboundAuthenticationRequest
-
- All Implemented Interfaces:
XrootdOutboundRequest
public class OutboundAuthenticationRequest extends AbstractXrootdOutboundRequest
Request to third-party source server.
-
-
Field Summary
-
Fields inherited from class org.dcache.xrootd.tpc.protocol.messages.AbstractXrootdOutboundRequest
requestId, streamId
-
-
Constructor Summary
Constructors Constructor Description OutboundAuthenticationRequest(int streamId, int length, java.lang.String protocol, int step, java.util.List<XrootdBucket> buckets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringdescribe()protected voidgetParams(io.netty.buffer.ByteBuf buffer)protected intgetParamsLen()voidwriteTo(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.ChannelPromise promise)Marshals this request object into a buffer and writes it to the context.-
Methods inherited from class org.dcache.xrootd.tpc.protocol.messages.AbstractXrootdOutboundRequest
getRequestId, getStreamId, writeToBuffer
-
-
-
-
Constructor Detail
-
OutboundAuthenticationRequest
public OutboundAuthenticationRequest(int streamId, int length, java.lang.String protocol, int step, java.util.List<XrootdBucket> buckets)- Parameters:
streamId- of this requestlength-protocol- the currently used authentication protocolstep- the processing stepbuckets- list of buckets containing server-side authentication information (challenge, host certificate, etc.)
-
-
Method Detail
-
writeTo
public void writeTo(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.ChannelPromise promise)Description copied from interface:XrootdOutboundRequestMarshals this request object into a buffer and writes it to the context.
- Specified by:
writeToin interfaceXrootdOutboundRequest- Overrides:
writeToin classAbstractXrootdOutboundRequest
-
describe
public java.lang.String describe()
-
getParams
protected void getParams(io.netty.buffer.ByteBuf buffer)
- Specified by:
getParamsin classAbstractXrootdOutboundRequest
-
getParamsLen
protected int getParamsLen()
- Specified by:
getParamsLenin classAbstractXrootdOutboundRequest
-
-