forked from PeterWaher/IoTGateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClockSourceEventArgs.cs
More file actions
32 lines (28 loc) · 819 Bytes
/
ClockSourceEventArgs.cs
File metadata and controls
32 lines (28 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System;
using System.Collections.Generic;
using System.Text;
namespace Waher.Networking.XMPP.Synchronization
{
/// <summary>
/// Delegate for clock source callback methods.
/// </summary>
/// <param name="Sender">Sender</param>
/// <param name="e">Event argument</param>
public delegate void ClockSourceEventHandler(object Sender, ClockSourceEventArgs e);
/// <summary>
/// Event arguments containing the response of a clock source request.
/// </summary>
public class ClockSourceEventArgs : IqResultEventArgs
{
private readonly string clockSourceJID;
internal ClockSourceEventArgs(string Jid, IqResultEventArgs e)
: base(e)
{
this.clockSourceJID = Jid;
}
/// <summary>
/// JID of clock source.
/// </summary>
public string ClockSourceJID => this.clockSourceJID;
}
}