-
Notifications
You must be signed in to change notification settings - Fork 4
JIDs
rondevera edited this page Sep 13, 2010
·
8 revisions
The Hemlock framework currently uses 3 different types of JIDs.
-
Client JID: A client receives a JID when it connects to the service. This JID has the form
username@server/resource. -
Client Room JID: When a client connects to or creates a room, a new JID is created to represent that user in that room. This JID has the group chat format
node@server/nickname. -
Bare Room JID: Each group chat room that exists also has a JID, with the format
node@server. It is the bare JID that push communications should be addressed to. So, when sending a message or presence—anything that the service should then send along to participating members—these stanzas should be sent to a room’s bare JID.