Class StatResponse
- java.lang.Object
-
- org.dcache.xrootd.protocol.messages.AbstractXrootdResponse<StatRequest>
-
- org.dcache.xrootd.protocol.messages.StatResponse
-
- All Implemented Interfaces:
XrootdResponse<StatRequest>
public class StatResponse extends AbstractXrootdResponse<StatRequest>
-
-
Field Summary
-
Fields inherited from class org.dcache.xrootd.protocol.messages.AbstractXrootdResponse
request, stat
-
-
Constructor Summary
Constructors Constructor Description StatResponse(StatRequest request, FileStatus fs)
-
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.intgetFlags()longgetId()longgetModificationTime()longgetSize()java.lang.StringtoString()-
Methods inherited from class org.dcache.xrootd.protocol.messages.AbstractXrootdResponse
getRequest, getStatus, writeTo
-
-
-
-
Constructor Detail
-
StatResponse
public StatResponse(StatRequest request, FileStatus fs)
-
-
Method Detail
-
getSize
public long getSize()
-
getFlags
public int getFlags()
-
getId
public long getId()
-
getModificationTime
public long getModificationTime()
-
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<StatRequest>- Specified by:
getDataLengthin classAbstractXrootdResponse<StatRequest>
-
getBytes
protected void getBytes(io.netty.buffer.ByteBuf buffer)
- Specified by:
getBytesin classAbstractXrootdResponse<StatRequest>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-