#include <gridfutureimpl.hpp>
Public Member Functions | |
| virtual bool | success () const |
| virtual T | result () const |
| virtual T | get () |
| virtual T | get (const boost::posix_time::time_duration &timeout) |
Special future for reporting errors, which are initialy known (such as, when client is already stopped).
This future throws exception when client calls get().
| T | Type of result, this future is expected to return. | |
| ExT | Type of exception to throw. |
| virtual T GridFailFutureImpl< T, ExT >::get | ( | ) | [inline, virtual] |
Throws exception right away.
Implements GridClientFuture< T >.
| virtual T GridFailFutureImpl< T, ExT >::get | ( | const boost::posix_time::time_duration & | timeout | ) | [inline, virtual] |
Throws exception right away.
Implements GridClientFuture< T >.
| virtual T GridFailFutureImpl< T, ExT >::result | ( | ) | const [inline, virtual] |
Result of operation. An exception of type ExT will be thrown.
Implements GridClientFuture< T >.
| virtual bool GridFailFutureImpl< T, ExT >::success | ( | ) | const [inline, virtual] |
Always returns false - the operation was initially invalid.
Implements GridClientFuture< T >.
1.7.1