19 throw std::invalid_argument(
"Invalid PSendFlag flag");
36 throw std::invalid_argument(
"Invalid PSendStatus flag");
49 throw std::invalid_argument(
"Invalid PRecvFlag flag");
67 throw std::invalid_argument(
"Invalid PRecvStatus flag");
78 throw std::invalid_argument(
"Invalid PSendFlag string: " + str);
94 throw std::invalid_argument(
"Invalid PSendStatus string: " + str);
105 throw std::invalid_argument(
"Invalid PRecvFlag string: " + str);
122 throw std::invalid_argument(
"Invalid PRecvStatus string: " + str);
PRecvFlag::PRecvFlag fromString< PRecvFlag::PRecvFlag >(const std::string &str)
Convert a std::string into a PRecvFlag.
PRecvStatus::PRecvStatus fromString< PRecvStatus::PRecvStatus >(const std::string &str)
Convert a std::string into a PRecvStatus.
std::string toString(PSendFlag::PSendFlag flag)
Convert a PSendFlag into a std::string.
PSendFlag::PSendFlag fromString< PSendFlag::PSendFlag >(const std::string &str)
Convert a std::string into a PSendFlag.
PSendStatus::PSendStatus fromString< PSendStatus::PSendStatus >(const std::string &str)
Convert a std::string into a PSendStatus.
PRecvFlag
describe the receiving flag of the Socket
PRecvStatus
describe the result of the recv
@ CANNOT_DESERIALIZE_DATA
PSendFlag
describe the sending flag of the Socket
PSendStatus
describe the result of the send