com.valhalla.jbother
Class AddBuddyDialog.AddBuddyThread

java.lang.Object
  extended bycom.valhalla.jbother.AddBuddyDialog.AddBuddyThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
AddBuddyDialog

class AddBuddyDialog.AddBuddyThread
extends java.lang.Object
implements java.lang.Runnable

Actually adds the buddy to the Roster

Version:
1.0
Author:
Adam Olsen

Constructor Summary
AddBuddyDialog.AddBuddyThread(WaitDialog wait, java.lang.String groupName, java.lang.String buddyAlias, java.lang.String buddyId, AddBuddyDialog dialog)
          Default constructor
 
Method Summary
 void run()
          Called by the enclosing Thread - will attempt to add the buddy to the Roster, and will display an error if it wasn't successfull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddBuddyDialog.AddBuddyThread

public AddBuddyDialog.AddBuddyThread(WaitDialog wait,
                                     java.lang.String groupName,
                                     java.lang.String buddyAlias,
                                     java.lang.String buddyId,
                                     AddBuddyDialog dialog)
Default constructor

Parameters:
wait - the wait dialog
groupName - the group to use
buddyAlias - the buddy's alias
buddyId - the buddy's JID
dialog - the AddBuddyDialog that called this thread
Method Detail

run

public void run()
Called by the enclosing Thread - will attempt to add the buddy to the Roster, and will display an error if it wasn't successfull

Specified by:
run in interface java.lang.Runnable