XRootD
Loading...
Searching...
No Matches
XrdCl::OpenInfo Class Reference

Information returned by file open operation. More...

#include <XrdClXRootDResponses.hh>

+ Collaboration diagram for XrdCl::OpenInfo:

Public Member Functions

 OpenInfo (const uint8_t *fileHandle, uint64_t sessionId, StatInfo *statInfo=0)
 Constructor.
 
virtual ~OpenInfo ()
 Destructor.
 
void GetFileHandle (uint8_t *fileHandle) const
 Get the file handle (4bytes)
 
uint64_t GetSessionId () const
 
const StatInfo * GetStatInfo () const
 Get the stat info.
 

Detailed Description

Information returned by file open operation.

Definition at line 882 of file XrdClXRootDResponses.hh.

Constructor & Destructor Documentation

◆ OpenInfo()

XrdCl::OpenInfo::OpenInfo ( const uint8_t * fileHandle,
uint64_t sessionId,
StatInfo * statInfo = 0 )
inline

Constructor.

Definition at line 888 of file XrdClXRootDResponses.hh.

890 :
891 pSessionId(sessionId), pStatInfo( statInfo )
892 {
893 memcpy( pFileHandle, fileHandle, 4 );
894 }

◆ ~OpenInfo()

virtual XrdCl::OpenInfo::~OpenInfo ( )
inlinevirtual

Destructor.

Definition at line 899 of file XrdClXRootDResponses.hh.

900 {
901 delete pStatInfo;
902 }

Member Function Documentation

◆ GetFileHandle()

void XrdCl::OpenInfo::GetFileHandle ( uint8_t * fileHandle) const
inline

Get the file handle (4bytes)

Definition at line 907 of file XrdClXRootDResponses.hh.

908 {
909 memcpy( fileHandle, pFileHandle, 4 );
910 }

Referenced by XrdCl::FileStateHandler::OnOpen().

+ Here is the caller graph for this function:

◆ GetSessionId()

uint64_t XrdCl::OpenInfo::GetSessionId ( ) const
inline

Definition at line 923 of file XrdClXRootDResponses.hh.

924 {
925 return pSessionId;
926 }

Referenced by XrdCl::FileStateHandler::OnOpen().

+ Here is the caller graph for this function:

◆ GetStatInfo()

const StatInfo * XrdCl::OpenInfo::GetStatInfo ( ) const
inline

Get the stat info.

Definition at line 915 of file XrdClXRootDResponses.hh.

916 {
917 return pStatInfo;
918 }

Referenced by XrdCl::FileStateHandler::OnOpen().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: