public class AbstractXrootdRequest extends Object implements XrootdRequest
| Modifier and Type | Field and Description |
|---|---|
protected int |
requestId |
protected XrootdSession |
session |
protected int |
streamId |
| Constructor and Description |
|---|
AbstractXrootdRequest(io.netty.buffer.ByteBuf buffer) |
AbstractXrootdRequest(io.netty.buffer.ByteBuf buffer,
int requestId) |
| Modifier and Type | Method and Description |
|---|---|
int |
getRequestId()
Returns the request id.
|
XrootdSession |
getSession()
Returns the xrootd session associated with the request.
|
int |
getStreamId()
Returns the stream id.
|
Subject |
getSubject()
Returns the subject as identified by the associated session.
|
void |
setSession(XrootdSession session)
Associates the request with an xrootd session.
|
protected final int streamId
protected final int requestId
protected XrootdSession session
public AbstractXrootdRequest(io.netty.buffer.ByteBuf buffer,
int requestId)
public AbstractXrootdRequest(io.netty.buffer.ByteBuf buffer)
public int getStreamId()
XrootdRequestgetStreamId in interface XrootdRequestpublic int getRequestId()
XrootdRequestgetRequestId in interface XrootdRequestpublic void setSession(XrootdSession session)
XrootdRequestsetSession in interface XrootdRequestpublic XrootdSession getSession()
XrootdRequestgetSession in interface XrootdRequestpublic Subject getSubject()
XrootdRequestgetSubject in interface XrootdRequestCopyright © 2011–2018 dCache.org. All rights reserved.