IPWorks IoT 2020 JavaScript Edition

Questions / Feedback?

Resource Property

This is the resource for the current session.


 getResource(): string;

 setResource(resource: string): void;

Default Value

"IPWorks XMPP Agent"


Whenever an entity logs in to an XMPP (Jabber) server, it must provide account information as well as a resource. Resources allow multiple clients to log in using the same account. The server will forward all messages and PI data aimed at a specific resource to that resource. If a command or message is to be sent to a Jabber ID with no specified resource, the server will push that command or message out to all connected resources.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 JavaScript Edition - Version 20.0 [Build 8265]