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