Class OutboundProtocolRequest

  • All Implemented Interfaces:
    XrootdOutboundRequest

    public class OutboundProtocolRequest
    extends java.lang.Object
    implements XrootdOutboundRequest
    The kXR_protocol request has the following packet structure:

    kXR_charstreamid[2]
    kXR_unt16kXR_protocol
    kXR_int32clientpv
    kXR_charoptions
    kXR_charexpect
    kXR_charreserved[10]
    kXR_int32dlen
    • Constructor Summary

      Constructors 
      Constructor Description
      OutboundProtocolRequest​(int streamId, int version, int options, int expect)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

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

      • OutboundProtocolRequest

        public OutboundProtocolRequest​(int streamId,
                                       int version,
                                       int options,
                                       int expect)
    • Method Detail

      • 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