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.
 ~OpenInfo ()
 Destructor.
void GetFileHandle (uint8_t *fileHandle) const
 Get the file handle (4bytes)
uint64_t GetSessionId () const
const StatInfoGetStatInfo () const
 Get the stat info.

Detailed Description

Information returned by file open operation.

Definition at line 862 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 868 of file XrdClXRootDResponses.hh.

870 :
871 pSessionId(sessionId), pStatInfo( statInfo )
872 {
873 memcpy( pFileHandle, fileHandle, 4 );
874 }

◆ ~OpenInfo()

XrdCl::OpenInfo::~OpenInfo ( )
inline

Destructor.

Definition at line 879 of file XrdClXRootDResponses.hh.

880 {
881 delete pStatInfo;
882 }

Member Function Documentation

◆ GetFileHandle()

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

Get the file handle (4bytes)

Definition at line 887 of file XrdClXRootDResponses.hh.

888 {
889 memcpy( fileHandle, pFileHandle, 4 );
890 }

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

Here is the caller graph for this function:

◆ GetSessionId()

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

Definition at line 903 of file XrdClXRootDResponses.hh.

904 {
905 return pSessionId;
906 }

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 895 of file XrdClXRootDResponses.hh.

896 {
897 return pStatInfo;
898 }

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

Here is the caller graph for this function:

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