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

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

◆ ~OpenInfo()

XrdCl::OpenInfo::~OpenInfo ( )
inline

Destructor.

Definition at line 878 of file XrdClXRootDResponses.hh.

879 {
880 delete pStatInfo;
881 }

Member Function Documentation

◆ GetFileHandle()

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

Get the file handle (4bytes)

Definition at line 886 of file XrdClXRootDResponses.hh.

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

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

+ Here is the caller graph for this function:

◆ GetSessionId()

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

Definition at line 902 of file XrdClXRootDResponses.hh.

903 {
904 return pSessionId;
905 }

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

895 {
896 return pStatInfo;
897 }

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

+ Here is the caller graph for this function:

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