Class LoginResponse
- java.lang.Object
-
- org.dcache.xrootd.protocol.messages.AbstractXrootdResponse<LoginRequest>
-
- org.dcache.xrootd.protocol.messages.LoginResponse
-
- All Implemented Interfaces:
XrootdResponse<LoginRequest>
public class LoginResponse extends AbstractXrootdResponse<LoginRequest>
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTHN_PROTOCOL_TYPE_LEN-
Fields inherited from class org.dcache.xrootd.protocol.messages.AbstractXrootdResponse
request, stat
-
-
Constructor Summary
Constructors Constructor Description LoginResponse(LoginRequest request, XrootdSessionIdentifier sessionId, java.lang.String sec)
-
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.StringgetSec()XrootdSessionIdentifiergetSessionId()java.lang.StringtoString()-
Methods inherited from class org.dcache.xrootd.protocol.messages.AbstractXrootdResponse
getRequest, getStatus, writeTo
-
-
-
-
Field Detail
-
AUTHN_PROTOCOL_TYPE_LEN
public static final int AUTHN_PROTOCOL_TYPE_LEN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LoginResponse
public LoginResponse(LoginRequest request, XrootdSessionIdentifier sessionId, java.lang.String sec)
-
-
Method Detail
-
getSessionId
public XrootdSessionIdentifier getSessionId()
-
getSec
public java.lang.String getSec()
-
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<LoginRequest>- Specified by:
getDataLengthin classAbstractXrootdResponse<LoginRequest>
-
getBytes
protected void getBytes(io.netty.buffer.ByteBuf buffer)
- Specified by:
getBytesin classAbstractXrootdResponse<LoginRequest>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-