mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 16:17:28 -04:00
Add a bit of documentation about broadcast discovery event
This commit is contained in:
parent
fcb2875312
commit
cc973d1ea5
1 changed files with 7 additions and 0 deletions
|
@ -43,6 +43,7 @@ class RsBroadcastDiscovery;
|
||||||
*/
|
*/
|
||||||
extern std::shared_ptr<RsBroadcastDiscovery> rsBroadcastDiscovery;
|
extern std::shared_ptr<RsBroadcastDiscovery> rsBroadcastDiscovery;
|
||||||
|
|
||||||
|
|
||||||
struct RsBroadcastDiscoveryResult : RsSerializable
|
struct RsBroadcastDiscoveryResult : RsSerializable
|
||||||
{
|
{
|
||||||
PGPFingerprintType mPgpFingerprint;
|
PGPFingerprintType mPgpFingerprint;
|
||||||
|
@ -65,6 +66,11 @@ struct RsBroadcastDiscoveryResult : RsSerializable
|
||||||
~RsBroadcastDiscoveryResult() override;
|
~RsBroadcastDiscoveryResult() override;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Event emitted when a non friend new peer is found in the local network
|
||||||
|
* @see RsEvents
|
||||||
|
*/
|
||||||
struct RsBroadcastDiscoveryPeerFoundEvent : RsEvent
|
struct RsBroadcastDiscoveryPeerFoundEvent : RsEvent
|
||||||
{
|
{
|
||||||
RsBroadcastDiscoveryPeerFoundEvent(
|
RsBroadcastDiscoveryPeerFoundEvent(
|
||||||
|
@ -84,6 +90,7 @@ struct RsBroadcastDiscoveryPeerFoundEvent : RsEvent
|
||||||
~RsBroadcastDiscoveryPeerFoundEvent() override;
|
~RsBroadcastDiscoveryPeerFoundEvent() override;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Announce own RetroShare instace and look friends and peers in own broadcast
|
* Announce own RetroShare instace and look friends and peers in own broadcast
|
||||||
* domain (aka LAN).
|
* domain (aka LAN).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue