LibreOffice Module sd (master) 1
|
#include <DiscoveryService.hxx>
Static Public Member Functions | |
static void | setup () |
Private Member Functions | |
DiscoveryService () | |
virtual | ~DiscoveryService () override |
void | setupSockets () |
Networking related setup – must be run within our own thread to prevent the application blocking (fdo#75328). More... | |
virtual void SAL_CALL | run () override |
Private Attributes | |
int | mSocket |
ZeroconfService * | zService |
Static Private Attributes | |
static DiscoveryService * | spService = nullptr |
Definition at line 17 of file DiscoveryService.hxx.
|
private |
Definition at line 52 of file DiscoveryService.cxx.
Referenced by setup().
|
overrideprivatevirtual |
Definition at line 58 of file DiscoveryService.cxx.
References sd::ZeroconfService::clear(), close, mSocket, and zService.
|
overrideprivatevirtual |
Definition at line 138 of file DiscoveryService.cxx.
References aBuffer, BUFFER_SIZE, mSocket, OUStringToOString(), and setupSockets().
|
static |
Definition at line 177 of file DiscoveryService.cxx.
References DiscoveryService(), and spService.
|
private |
Networking related setup – must be run within our own thread to prevent the application blocking (fdo#75328).
Definition at line 73 of file DiscoveryService.cxx.
References htonl(), htons(), mSocket, PORT_DISCOVERY, SAL_WARN, sd::ZeroconfService::setup(), and zService.
Referenced by run().
|
private |
Definition at line 34 of file DiscoveryService.hxx.
Referenced by run(), setupSockets(), and ~DiscoveryService().
|
staticprivate |
Definition at line 32 of file DiscoveryService.hxx.
Referenced by setup().
|
private |
Definition at line 36 of file DiscoveryService.hxx.
Referenced by setupSockets(), and ~DiscoveryService().