public static class MUCUser.Invite extends Object
| Constructor and Description |
|---|
MUCUser.Invite() |
| Modifier and Type | Method and Description |
|---|---|
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() |
public MUCUser.Invite()
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.