Class LocateResponse
- java.lang.Object
-
- org.dcache.xrootd.protocol.messages.AbstractXrootdResponse<LocateRequest>
-
- org.dcache.xrootd.protocol.messages.LocateResponse
-
- All Implemented Interfaces:
XrootdResponse<LocateRequest>
public class LocateResponse extends AbstractXrootdResponse<LocateRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocateResponse.Accessstatic classLocateResponse.InfoElementstatic classLocateResponse.Node
-
Field Summary
-
Fields inherited from class org.dcache.xrootd.protocol.messages.AbstractXrootdResponse
request, stat
-
-
Constructor Summary
Constructors Constructor Description LocateResponse(LocateRequest request, LocateResponse.InfoElement... info)
-
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.java.lang.StringtoString()-
Methods inherited from class org.dcache.xrootd.protocol.messages.AbstractXrootdResponse
getRequest, getStatus, writeTo
-
-
-
-
Constructor Detail
-
LocateResponse
public LocateResponse(LocateRequest request, LocateResponse.InfoElement... info)
-
-
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<LocateRequest>- Specified by:
getDataLengthin classAbstractXrootdResponse<LocateRequest>
-
getBytes
protected void getBytes(io.netty.buffer.ByteBuf buffer)
- Specified by:
getBytesin classAbstractXrootdResponse<LocateRequest>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-