com.valhalla.jbother
Class VersionCollector

java.lang.Object
  extended bycom.valhalla.jbother.InformationCollector
      extended bycom.valhalla.jbother.VersionCollector
All Implemented Interfaces:
java.lang.Runnable

class VersionCollector
extends InformationCollector

An InformationCollector that collects jabbber:iq:version information

Version:
1.0
Author:
Adam Olsen

Field Summary
protected  InformationViewerDialog dialog
           
protected  java.lang.Integer id
           
 
Constructor Summary
VersionCollector(InformationViewerDialog dialog, java.lang.Integer id)
          The default constructor
 
Method Summary
 void run()
          Called by the enclosing java.util.Thread The run() method is responsible for collecting the requested information and setting the field in the InformationViewerDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected java.lang.Integer id

dialog

protected InformationViewerDialog dialog
Constructor Detail

VersionCollector

public VersionCollector(InformationViewerDialog dialog,
                        java.lang.Integer id)
The default constructor

Parameters:
dialog - the InformationViewerDialog that called this thread
id - the field id
Method Detail

run

public void run()
Called by the enclosing java.util.Thread The run() method is responsible for collecting the requested information and setting the field in the InformationViewerDialog

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class InformationCollector