1using System.Collections.Generic;
2using System.Threading.Tasks;
28 [Page(28,
"Roster", 110)]
29 [Header(29,
"Bare JID:")]
30 [ToolTip(30,
"Bare JID of roster item.")]
36 [Page(28,
"Roster", 110)]
37 [Header(34,
"Subscription State:")]
38 [ToolTip(35,
"State of presence subscription for roster item.")]
50 [Page(28,
"Roster", 110)]
52 [ToolTip(43,
"Name of contact.")]
58 [Page(28,
"Roster", 110)]
59 [Header(44,
"Pending Subscription:")]
60 [ToolTip(47,
"If a pending subscription request exists.")]
69 [Page(28,
"Roster", 110)]
70 [Header(48,
"Groups:")]
71 [ToolTip(49,
"Groups to which the roster item belongs.")]
106 return Task.FromResult(
false);
117 LinkedList<Parameter> Result = await base.GetDisplayableParametersAsync(
Language, Caller) as LinkedList<Parameter>;
121 XmppBroker Broker = await BrokerNode.GetBroker();
140 await base.DestroyAsync();
144 XmppBroker Broker = await BrokerNode.GetBroker();
Maintains information about an item in the roster.
SubscriptionState State
roup Current subscription state.
Manages an XMPP client connection. Implements XMPP, as defined in https://tools.ietf....
Task RemoveRosterItem(string BareJID)
Removes an item from the roster.
Contains information about a language.
Task< string > GetStringAsync(Type Type, int Id, string Default)
Gets the string value of a string ID. If no such string exists, a string is created with the default ...
async Task< Namespace > GetNamespaceAsync(string Name)
Gets the namespace object, given its name, if available.
Contains information about a namespace in a language.
Task< LanguageString > GetStringAsync(int Id)
Gets the string object, given its ID, if available.
INode Parent
Parent Node, or null if a root node.
async Task< INode > GetParent()
Gets the parent of the node.
Base class for all provisioned metering nodes.
Tokens available in request.
Node representing an XMPP concentrator.
Represents an XMPP broker.
Node representing a roster item in the roster of an XMPP account.
string BareJID
Partition ID
override Task< bool > AcceptsParentAsync(INode Parent)
If the node accepts a presumptive parent, i.e. can be added to that parent (if that parent accepts th...
async override Task< IEnumerable< Parameter > > GetDisplayableParametersAsync(Language Language, RequestOrigin Caller)
Gets displayable parameters.
override async Task DestroyAsync()
Destroys the node. If it is a child to a parent node, it is removed from the parent first.
string ContactName
Partition ID
override Task< bool > AcceptsChildAsync(INode Child)
If the node accepts a presumptive child, i.e. can receive as a child (if that child accepts the node ...
override Task< string > GetTypeNameAsync(Language Language)
Gets the type name of the node.
string[] Groups
Subscription State
RosterItemNode()
Node representing a roster item in the roster of an XMPP account.
override string LocalId
If provided, an ID for the node, but unique locally between siblings. Can be null,...
Node representing an XMPP broker.
Interface for nodes that are published through the concentrator interface.
SubscriptionState
State of a presence subscription.
PendingSubscription
Pending subscription states.