-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathIPersonalEvent.cs
More file actions
59 lines (53 loc) · 1.06 KB
/
IPersonalEvent.cs
File metadata and controls
59 lines (53 loc) · 1.06 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
using System;
using System.Collections.Generic;
using System.Xml;
namespace Waher.Networking.XMPP.PEP
{
/// <summary>
/// Interface for personal event objects.
/// </summary>
public interface IPersonalEvent
{
/// <summary>
/// Node on which the personal event is published on.
/// </summary>
string Node
{
get;
}
/// <summary>
/// Local name of the event element.
/// </summary>
string LocalName
{
get;
}
/// <summary>
/// Namespace of the event element.
/// </summary>
string Namespace
{
get;
}
/// <summary>
/// XML representation of the event.
/// </summary>
string PayloadXml
{
get;
}
/// <summary>
/// Optional Item ID of event. If null, a new will automatically be generated by the server.
/// </summary>
string ItemId
{
get;
}
/// <summary>
/// Parses a personal event from its XML representation
/// </summary>
/// <param name="E">XML representation of personal event.</param>
/// <returns>Personal event object.</returns>
IPersonalEvent Parse(XmlElement E);
}
}