Class AbstractXrootdInboundResponse
- java.lang.Object
-
- org.dcache.xrootd.tpc.protocol.messages.AbstractXrootdInboundResponse
-
- All Implemented Interfaces:
XrootdInboundResponse
- Direct Known Subclasses:
AbstractInboundWaitResponse,InboundAttnResponse,InboundAuthenticationResponse,InboundChecksumResponse,InboundCloseResponse,InboundEndSessionResponse,InboundErrorResponse,InboundHandshakeResponse,InboundLoginResponse,InboundOpenReadOnlyResponse,InboundProtocolResponse,InboundReadResponse,InboundRedirectResponse
public abstract class AbstractXrootdInboundResponse extends java.lang.Object implements XrootdInboundResponse
Supports incoming third-party source server reponses. According to protocol, all responses must have the following packet structure:kXR_char streamid[2] kXR_unt16 stat kXR_int32 dlen kXR_char data[dlen]
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractXrootdInboundResponse(int streamId, int stat)protectedAbstractXrootdInboundResponse(io.netty.buffer.ByteBuf buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetStatus()The xrootd response status code.intgetStreamId()The xrootd stream identifier (client generated).-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dcache.xrootd.tpc.protocol.messages.XrootdInboundResponse
getRequestId
-
-
-
-
Method Detail
-
getStatus
public int getStatus()
Description copied from interface:XrootdInboundResponseThe xrootd response status code.- Specified by:
getStatusin interfaceXrootdInboundResponse
-
getStreamId
public int getStreamId()
Description copied from interface:XrootdInboundResponseThe xrootd stream identifier (client generated).- Specified by:
getStreamIdin interfaceXrootdInboundResponse
-
-