You have been redirected from an outdated version of the article.
Below is the content available on this topic. To view the old article click here.
XMPPClient
XMPPClient is a base type that provides a Scriptable XMPP Client Implementation.
XMPPClient extends AbstractNode and provides the following additional properties.
Name |
Type |
Description |
xmppUsername |
String |
The username of this XMPPClient |
xmppPassword |
String |
The password for this XMPPClient |
xmppService |
String |
The service name to connect to |
xmppHost |
String |
The host name to connect to |
xmppPort |
Integer |
The port to connect to |
isEnabled |
Boolean |
A boolean value that indicates whether this XMPPClient is enabled (should connect to a server and receive messages) |
isConnected |
Boolean |
A boolean value that indicates whether this XMPPClient is connected to a server |
Search results for "XMPPClient"
XMPP
Structr provides a scriptable XMPP Client Implementation based on the XMPPClient entity.
XMPPClient is a base type that provides a Scriptable XMPP Client Implementation.
XMPPClient extends AbstractNode and provides the following additional properties.
Name | Type | Description |
xmppUsername | String | The username of this XMPPClient |
xmppPassword | String | The password for this XMPPClient |
xmppService | String | The service name to connect to |
xmppHost | String | The host name to connect to |
xmppPort | Integer | The port to connect to |
isEnabled | Boolean | A boolean value that indicates whether this XMPPClient is enabled (should connect to a server and receive messages) |
isConnected | Boolean | A boolean value that indicates whether this XMPPClient is connected to a server |
Example:
let xmppClient = $.this;
xmppClient.doJoinChat('chatRoom@conference.server.org', 'nickname', 'password');