org.jivesoftware.smackx.workgroup.agent
Class RevokedOffer
java.lang.Object
org.jivesoftware.smackx.workgroup.agent.RevokedOffer
public class RevokedOffer
- extends Object
A revoked offer which contains the reason the offer was revoked, the
workgroup, the user JID, and the timestamp of the revocation.
- Author:
- Matt Tucker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RevokedOffer
public RevokedOffer(String userID,
String workgroupName,
String sessionID,
String reason,
Date timestamp)
- Parameters:
userID
- the jid of the user for which this revocation was issued.workgroupName
- the fully qualified name of the workgroup.sessionID
- the session id attributed to this chain of packets.reason
- the server issued message as to why this revocation was issued.timestamp
- the timestamp at which the revocation was issued.
getUserID
public String getUserID()
- Returns:
- the jid of the user for which this rejection was issued.
getWorkgroupName
public String getWorkgroupName()
- Returns:
- the fully qualified name of the workgroup
getSessionID
public String getSessionID()
- Returns:
- the session id which will associate all packets for the pending chat
getReason
public String getReason()
- Returns:
- the server issued message as to why this revocation was issued
getTimestamp
public Date getTimestamp()
- Returns:
- the timestamp at which the revocation was issued
Copyright © 2003 Jive Software.