bool DebuggerCommand::recv(DebuggerThriftBuffer &thrift) { try { recvImpl(thrift); } catch (...) { Logger::Verbose("DebuggerCommand::recv(): a socket error has happened"); thrift.close(); return false; } return true; }
bool DebuggerCommand::send(DebuggerThriftBuffer &thrift) { try { thrift.reset(false); sendImpl(thrift); thrift.flush(); } catch (...) { Logger::Verbose("DebuggerCommand::send(): a socket error has happened"); thrift.close(); return false; } return true; }