|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smackx.packet.MUCUser.Invite
public static class MUCUser.Invite
Represents an invitation for another user to a room. The sender of the invitation must be an occupant of the room. The invitation will be sent to the room which in turn will forward the invitation to the invitee.
| Constructor Summary | |
|---|---|
MUCUser.Invite()
|
|
| Method Summary | |
|---|---|
String |
getFrom()
Returns the bare JID of the inviter or, optionally, the room JID. |
String |
getReason()
Returns the message explaining the invitation. |
String |
getTo()
Returns the bare JID of the invitee. |
void |
setFrom(String from)
Sets the bare JID of the inviter or, optionally, the room JID. |
void |
setReason(String reason)
Sets the message explaining the invitation. |
void |
setTo(String to)
Sets the bare JID of the invitee. |
String |
toXML()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MUCUser.Invite()
| Method Detail |
|---|
public String getFrom()
public String getReason()
public String getTo()
public void setFrom(String from)
from - the bare JID of the inviter or, optionally, the room JID.public void setReason(String reason)
reason - the message explaining the invitation.public void setTo(String to)
to - the bare JID of the invitee.public String toXML()
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||