#include <XrdClOperationTimeout.hh>
Definition at line 19 of file XrdClOperationTimeout.hh.
◆ Timeout() [1/3]
XrdCl::Timeout::Timeout |
( |
| ) |
|
|
inline |
◆ Timeout() [2/3]
XrdCl::Timeout::Timeout |
( |
uint16_t |
timeout | ) |
|
|
inline |
◆ Timeout() [3/3]
XrdCl::Timeout::Timeout |
( |
const Timeout & |
to | ) |
|
|
inline |
◆ operator uint16_t()
XrdCl::Timeout::operator uint16_t |
( |
| ) |
const |
|
inline |
Definition at line 42 of file XrdClOperationTimeout.hh.
44 if( !timeout )
return 0;
45 time_t elapsed = time( 0 ) - start;
46 if( timeout < elapsed)
throw operation_expired();
47 return timeout - elapsed;
◆ operator=()
The documentation for this class was generated from the following file: