Class OutboundProtocolRequest
- java.lang.Object
-
- org.dcache.xrootd.tpc.protocol.messages.OutboundProtocolRequest
-
- All Implemented Interfaces:
XrootdOutboundRequest
public class OutboundProtocolRequest extends java.lang.Object implements XrootdOutboundRequest
The kXR_protocol request has the following packet structure:kXR_char streamid[2] kXR_unt16 kXR_protocol kXR_int32 clientpv kXR_char options kXR_char expect kXR_char reserved[10] kXR_int32 dlen
-
-
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 intgetStreamId()voidwriteTo(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.ChannelPromise promise)Marshals this request object into a buffer and writes it to the context.
-
-
-
Method Detail
-
getStreamId
public int getStreamId()
- Specified by:
getStreamIdin interfaceXrootdOutboundRequest
-
writeTo
public void writeTo(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.ChannelPromise promise)Description copied from interface:XrootdOutboundRequestMarshals this request object into a buffer and writes it to the context.- Specified by:
writeToin interfaceXrootdOutboundRequest
-
-