1using System.Collections.Generic;
55 if (RoomName.IndexOf(
'@') < 0)
57 if (!
XmppServerModule.Instance.TryGetDomainAndNickName(RoomName, out
string Domain, out
string NickName))
58 throw new KeyNotFoundException(
"MUC room not entered: " + RoomName);
60 return new MucRoom(RoomName +
"@" + Domain, RoomName, Domain, NickName);
64 Enter.ParseRoom(RoomName, out
string RoomId, out
string Domain);
66 if (!
XmppServerModule.Instance.TryGetNickName(RoomId, Domain, out
string NickName))
67 throw new KeyNotFoundException(
"MUC room not entered: " + RoomName);
69 return new MucRoom(RoomName, RoomId, Domain, NickName);
Asks the broker to enter a room.
MUC constant, for script-access to MUC rooms.
MucConstant()
MUC constant, for script-access to MUC rooms.
string ConstantName
Name of the constant
IElement GetValueElement(Variables Variables)
Gets the constant value element.
string[] Aliases
Optional aliases. If there are no aliases for the constant, null is returned.
MUC Room, for script access to remote sources.
Service Module hosting the XMPP broker and its components.
Basic interface for all types of elements.
Base interface for constants that integrate into the script engine.