Class StatxResponse
- java.lang.Object
-
- org.dcache.xrootd.protocol.messages.AbstractXrootdResponse<StatxRequest>
-
- org.dcache.xrootd.protocol.messages.StatxResponse
-
- All Implemented Interfaces:
XrootdResponse<StatxRequest>
public class StatxResponse extends AbstractXrootdResponse<StatxRequest>
-
-
Field Summary
-
Fields inherited from class org.dcache.xrootd.protocol.messages.AbstractXrootdResponse
request, stat
-
-
Constructor Summary
Constructors Constructor Description StatxResponse(StatxRequest request, int[] fileStates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidgetBytes(io.netty.buffer.ByteBuf buffer)intgetDataLength()Returns the length of the response body.-
Methods inherited from class org.dcache.xrootd.protocol.messages.AbstractXrootdResponse
getRequest, getStatus, writeTo
-
-
-
-
Constructor Detail
-
StatxResponse
public StatxResponse(StatxRequest request, int[] fileStates)
-
-
Method Detail
-
getDataLength
public int getDataLength()
Description copied from interface:XrootdResponseReturns the length of the response body. This is the value of the dlen field in the Xrootd Server Response Format. This does not include the length of the 8 byte header.- Specified by:
getDataLengthin interfaceXrootdResponse<StatxRequest>- Specified by:
getDataLengthin classAbstractXrootdResponse<StatxRequest>
-
getBytes
protected void getBytes(io.netty.buffer.ByteBuf buffer)
- Specified by:
getBytesin classAbstractXrootdResponse<StatxRequest>
-
-