Interface XrootdRequest
-
- All Known Implementing Classes:
AbstractXrootdRequest,AuthenticationRequest,CloseRequest,DirListRequest,EndSessionRequest,GenericReadRequestMessage,LocateRequest,LoginRequest,MkDirRequest,MvRequest,OpenRequest,PathRequest,PrepareRequest,ProtocolRequest,QueryRequest,ReadRequest,ReadVRequest,RmDirRequest,RmRequest,SetRequest,SigverRequest,StatRequest,StatxRequest,SyncRequest,UnknownRequest,WriteRequest
public interface XrootdRequestAn xrootd request message. Request objects may be reference counted.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetRequestId()Returns the request id.XrootdSessiongetSession()Returns the xrootd session associated with the request.intgetStreamId()Returns the stream id.javax.security.auth.SubjectgetSubject()Returns the subject as identified by the associated session.voidsetSession(XrootdSession session)Associates the request with an xrootd session.
-
-
-
Method Detail
-
getStreamId
int getStreamId()
Returns the stream id. The stream id is used by the client to match responses to requests.
-
getRequestId
int getRequestId()
Returns the request id. The request id identifies the type of the request.
-
setSession
void setSession(XrootdSession session)
Associates the request with an xrootd session.
-
getSession
XrootdSession getSession()
Returns the xrootd session associated with the request. A session is established during authentication. May be null.
-
getSubject
javax.security.auth.Subject getSubject()
Returns the subject as identified by the associated session. May be null.
-
-