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