25 #ifndef INCLUDED_NetworkingSupport_h_GUID_A5FE2D05_48DC_469E_1013_F2B7736331F3
26 #define INCLUDED_NetworkingSupport_h_GUID_A5FE2D05_48DC_469E_1013_F2B7736331F3
32 #include <boost/noncopyable.hpp>
52 bool isUp()
const {
return m_up; }
59 std::string
const &
getError()
const {
return m_err; }
78 #endif // INCLUDED_NetworkingSupport_h_GUID_A5FE2D05_48DC_469E_1013_F2B7736331F3
~NetworkingSupport()
Destructor.
RAII class wrapping networking system startup.
void shutdown()
Shutdown before destruction.
std::string const & getError() const
Get error message, if any.
NetworkingSupport()
Constructor.
bool wasSuccessful() const
Get whether the last operation (automatic startup or manual, early shutdown) was successful.
Automatically-generated export header - do not edit!
bool isUp() const
Get whether the networking system is successfully "up".