Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
AvailableEventArgs.cs
1using System;
3
5{
9 public class AvailableEventArgs : EventArgs
10 {
11 private readonly PresenceEventArgs presence;
12 private readonly bool hasE2E;
13 private readonly bool hasP2P;
14
22 {
23 this.presence = e;
24 this.hasE2E = HasE2E;
25 this.hasP2P = HasP2P;
26 }
27
31 public PresenceEventArgs Presence => this.presence;
32
36 public bool HasE2E => this.hasE2E;
37
41 public bool HasP2P => this.hasP2P;
42 }
43}
Event arguments for presence events.
Event arguments for Availability events.
PresenceEventArgs Presence
Presence event arguments.
bool HasE2E
If End-to-End encryption information was found in presence stanza.
AvailableEventArgs(PresenceEventArgs e, bool HasE2E, bool HasP2P)
Event arguments for Availability events.
bool HasP2P
If Peer-to-peer address information was found in presence stanza.