16 default:
return "NON_BLOCK";
break;
41 default:
return "CANNOT_SERIALIZE_DATA";
break;
66 default:
return "NON_BLOCK";
break;
92 default:
return "CANNOT_DESERIALIZE_DATA";
break;
PRecvFlag::PRecvFlag daemonRecvFlagFromString(const std::string &str)
Convert a std::string into a PRecvFlag.
PSendFlag::PSendFlag daemonSendFlagFromString(const std::string &str)
Convert a std::string into a PSendFlag.
std::string daemonToString(PSendFlag::PSendFlag flag)
Convert a PSendFlag into a std::string.
PSendStatus::PSendStatus daemonSendStatusFromString(const std::string &str)
Convert a std::string into a PSendStatus.
PRecvStatus::PRecvStatus daemonRecvStatusFromString(const std::string &str)
Convert a std::string into a PRecvStatus.
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