Smack

org.jivesoftware.smackx.workgroup.agent
Class RevokedOffer

java.lang.Object
  extended by org.jivesoftware.smackx.workgroup.agent.RevokedOffer

public class RevokedOffer
extends java.lang.Object

An immutable simple class to embody the information concerning a revoked offer, this is namely the reason, the workgroup, the userJID, and the timestamp which the message was received.

Author:
loki der quaeler

Method Summary
 java.lang.String getReason()
           
 java.lang.String getSessionID()
           
 java.util.Date getTimestamp()
           
 java.lang.String getUserID()
           
 java.lang.String getUserJID()
           
 java.lang.String getWorkgroupName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUserJID

public java.lang.String getUserJID()

getUserID

public java.lang.String getUserID()
Returns:
the jid of the user for which this revocation was issued

getWorkgroupName

public java.lang.String getWorkgroupName()
Returns:
the fully qualified name of the workgroup

getSessionID

public java.lang.String getSessionID()
Returns:
the session id which will associate all packets for the pending chat

getReason

public java.lang.String getReason()
Returns:
the server issued message as to why this revocation was issued

getTimestamp

public java.util.Date getTimestamp()
Returns:
the timestamp at which the revocation was issued

Smack

Copyright © 2003-2007 Jive Software.