public final class Decline extends Object
<decline/> element.| Constructor and Description |
|---|
Decline(Jid to,
String reason)
Creates a 'decline' element with a reason.
|
| Modifier and Type | Method and Description |
|---|---|
Jid |
getFrom()
Gets the invitee, who declined the invitation.
|
String |
getReason()
Gets the reason for the declination.
|
Jid |
getTo()
Gets the inviter, who sent the invitation.
|
void |
setFrom(Jid from)
Sets the invitee, who declined the invitation.
|
void |
setTo(Jid to)
Sets the inviter, who sent the invitation.
|
public String getReason()
public Jid getFrom()
public void setFrom(Jid from)
from - The invitee.public Jid getTo()
public void setTo(Jid to)
to - The inviter.Copyright © 2014 XMPP.rocks. All rights reserved.