WRENCH
1.11
Cyberinfrastructure Simulation Workbench
|
Overview | Installation | Getting Started | WRENCH 101 | WRENCH 102 |
A "network error (or endpoint is down)" failure cause. More...
#include <NetworkError.h>
Public Types | |
enum | ErrorType { TIMEOUT, FAILURE } |
Enumerated type to describe the type of the network error. | |
enum | OperationType { SENDING, RECEIVING } |
Enumerated type to describe whether the network error occured while sending or receiving. | |
Public Member Functions | |
std::string | getMailbox () |
Returns the mailbox name on which the error occurred. More... | |
bool | isTimeout () |
Returns whether the network error was a timeout. More... | |
std::string | toString () override |
Get the human-readable failure message. More... | |
bool | whileReceiving () |
Returns whether the network error occurred while receiving. More... | |
bool | whileSending () |
Returns whether the network error occurred while sending. More... | |
A "network error (or endpoint is down)" failure cause.
std::string wrench::NetworkError::getMailbox | ( | ) |
Returns the mailbox name on which the error occurred.
bool wrench::NetworkError::isTimeout | ( | ) |
Returns whether the network error was a timeout.
|
overridevirtual |
bool wrench::NetworkError::whileReceiving | ( | ) |
Returns whether the network error occurred while receiving.
bool wrench::NetworkError::whileSending | ( | ) |
Returns whether the network error occurred while sending.