org.jivesoftware.spark.ui
Class SubscriptionDialog

java.lang.Object
  extended by org.jivesoftware.spark.ui.SubscriptionDialog

public class SubscriptionDialog
extends java.lang.Object

SubscriptionDialog handles all subscription requests.

Author:
Derek DeMoro

Constructor Summary
SubscriptionDialog()
           
 
Method Summary
 org.jivesoftware.smack.RosterEntry addEntry(java.lang.String jid, java.lang.String nickname, java.lang.String group)
          Adds a new entry to the users Roster.
 void invoke(java.lang.String jid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubscriptionDialog

public SubscriptionDialog()
Method Detail

invoke

public void invoke(java.lang.String jid)

addEntry

public org.jivesoftware.smack.RosterEntry addEntry(java.lang.String jid,
                                                   java.lang.String nickname,
                                                   java.lang.String group)
Adds a new entry to the users Roster.

Parameters:
jid - the jid.
nickname - the nickname.
group - the contact group.
Returns:
the new RosterEntry.