XrdCl::SIDManager Class Reference
Handle XRootD stream IDs.
More...
#include <XrdClSIDManager.hh>
List of all members.
Detailed Description
Handle XRootD stream IDs.
Constructor & Destructor Documentation
XrdCl::SIDManager::SIDManager |
( |
|
) |
[inline, private] |
XrdCl::SIDManager::~SIDManager |
( |
|
) |
[inline] |
Member Function Documentation
Status XrdCl::SIDManager::AllocateSID |
( |
uint8_t |
sid[2] |
) |
|
Allocate a SID
- Parameters:
-
| sid | a two byte array where the allocated SID should be stored |
- Returns:
- stOK on success, stError on error
uint16_t XrdCl::SIDManager::GetNumberOfAllocatedSIDs |
( |
|
) |
const |
Number of allocated streams.
bool XrdCl::SIDManager::IsTimedOut |
( |
uint8_t |
sid[2] |
) |
|
Check if a SID is timed out.
uint32_t XrdCl::SIDManager::NumberOfTimedOutSIDs |
( |
|
) |
const [inline] |
void XrdCl::SIDManager::ReleaseAllTimedOut |
( |
|
) |
|
Release all timed out SIDs.
void XrdCl::SIDManager::ReleaseSID |
( |
uint8_t |
sid[2] |
) |
|
Release the SID that is no longer needed.
void XrdCl::SIDManager::ReleaseTimedOut |
( |
uint8_t |
sid[2] |
) |
|
void XrdCl::SIDManager::TimeOutSID |
( |
uint8_t |
sid[2] |
) |
|
Register a SID of a request that timed out.
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: