@NotThreadSafe public class Invitation extends Message
Code example:
// Invite the someone to the room.
Invitation invitation = new Invitation("invitee@jabber.org", "Join this excellent room");
invitation.setTo("room@conference.jabber.org");
invitation.setFrom("inviter@jabber.org/notebook");
component.sendPacket(invitation);
Message.TypedocFactory, element, fromJID, toJID| Constructor and Description |
|---|
Invitation(String invitee,
String reason)
Creates a new invitation.
|
addChildElement, createCopy, getBody, getChildElement, getSubject, getThread, getType, setBody, setSubject, setThread, setTypeaddExtension, deleteExtension, getElement, getError, getExtension, getFrom, getID, getTo, setError, setError, setFrom, setFrom, setID, setTo, setTo, toString, toXMLCopyright © 2009–2017 Ignite Realtime. All rights reserved.