Class AbstractXrootdRequest

    • Field Detail

      • streamId

        protected final int streamId
      • requestId

        protected final int requestId
    • Constructor Detail

      • AbstractXrootdRequest

        public AbstractXrootdRequest​(io.netty.buffer.ByteBuf buffer,
                                     int requestId)
      • AbstractXrootdRequest

        public AbstractXrootdRequest​(io.netty.buffer.ByteBuf buffer)
    • Method Detail

      • getStreamId

        public int getStreamId()
        Description copied from interface: XrootdRequest
        Returns the stream id. The stream id is used by the client to match responses to requests.
        Specified by:
        getStreamId in interface XrootdRequest
      • getRequestId

        public int getRequestId()
        Description copied from interface: XrootdRequest
        Returns the request id. The request id identifies the type of the request.
        Specified by:
        getRequestId in interface XrootdRequest
      • getSession

        public XrootdSession getSession()
        Description copied from interface: XrootdRequest
        Returns the xrootd session associated with the request. A session is established during authentication. May be null.
        Specified by:
        getSession in interface XrootdRequest
      • getSubject

        public javax.security.auth.Subject getSubject()
        Description copied from interface: XrootdRequest
        Returns the subject as identified by the associated session. May be null.
        Specified by:
        getSubject in interface XrootdRequest