Class AbstractXrootdOutboundRequest

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int requestId  
      protected int streamId  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract void getParams​(io.netty.buffer.ByteBuf buffer)  
      protected abstract int getParamsLen()  
      int getRequestId()  
      int getStreamId()  
      void writeTo​(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.ChannelPromise promise)
      Marshals this request object into a buffer and writes it to the context.
      protected void writeToBuffer​(io.netty.buffer.ByteBuf buffer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • streamId

        protected final int streamId
      • requestId

        protected final int requestId
    • Constructor Detail

      • AbstractXrootdOutboundRequest

        protected AbstractXrootdOutboundRequest​(int streamId,
                                                int requestId)
    • Method Detail

      • getRequestId

        public int getRequestId()
      • writeTo

        public void writeTo​(io.netty.channel.ChannelHandlerContext ctx,
                            io.netty.channel.ChannelPromise promise)
        Description copied from interface: XrootdOutboundRequest
        Marshals this request object into a buffer and writes it to the context.

        Specified by:
        writeTo in interface XrootdOutboundRequest
      • writeToBuffer

        protected void writeToBuffer​(io.netty.buffer.ByteBuf buffer)
      • getParams

        protected abstract void getParams​(io.netty.buffer.ByteBuf buffer)
      • getParamsLen

        protected abstract int getParamsLen()