Class InboundProtocolResponse
- java.lang.Object
-
- org.dcache.xrootd.tpc.protocol.messages.AbstractXrootdInboundResponse
-
- org.dcache.xrootd.tpc.protocol.messages.InboundProtocolResponse
-
- All Implemented Interfaces:
XrootdInboundResponse
public class InboundProtocolResponse extends AbstractXrootdInboundResponse
According to protocol, has the following packet structure:
dlen is either 8, if no security requirements are returned, or 14 + secvsz*2.kXR_char streamid[2] kXR_unt16 0 kXR_int32 dlen kXR_int32 pval kXR_int32 flags kXR_char 'S' kXR_char rsvd kXR_char secver kXR_char secopt kXR_char seclvl kXR_char secvsz {kXR_char,kXR_char} [reqidx,reqlvl]
-
-
Field Summary
-
Fields inherited from class org.dcache.xrootd.tpc.protocol.messages.AbstractXrootdInboundResponse
stat, streamId
-
-
Constructor Summary
Constructors Constructor Description InboundProtocolResponse(io.netty.buffer.ByteBuf buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFlags()intgetPval()intgetRequestId()The xrootd request type this is a response toSigningPolicygetSigningPolicy()-
Methods inherited from class org.dcache.xrootd.tpc.protocol.messages.AbstractXrootdInboundResponse
getStatus, getStreamId
-
-
-
-
Constructor Detail
-
InboundProtocolResponse
public InboundProtocolResponse(io.netty.buffer.ByteBuf buffer) throws XrootdException- Throws:
XrootdException
-
-
Method Detail
-
getRequestId
public int getRequestId()
Description copied from interface:XrootdInboundResponseThe xrootd request type this is a response to
-
getSigningPolicy
public SigningPolicy getSigningPolicy()
-
getFlags
public int getFlags()
-
getPval
public int getPval()
-
-