Smack

org.jivesoftware.smackx.workgroup.agent
Class RevokedOffer

java.lang.Object
  extended by 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

Constructor Summary
RevokedOffer(String userID, String workgroupName, String sessionID, String reason, Date timestamp)
           
 
Method Summary
 String getReason()
           
 String getSessionID()
           
 Date getTimestamp()
           
 String getUserID()
           
 String getWorkgroupName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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

Smack

Copyright © 2003 Jive Software.