scopeDataTransporter
Class DriveData

java.lang.Object
  |
  +--scopeDataTransporter.DriveData
All Implemented Interfaces:
java.lang.Runnable

public class DriveData
extends java.lang.Object
implements java.lang.Runnable

This class purpose is to retrieve telescope position data from the server, for the client applet - TelescopeDrive. Creation date: (8/01/01 3:05:58 PM)


Field Summary
private  java.net.URL dataURL
           
private  boolean isDone
           
private  TelescopeDataTransporter telescopeData
           
 
Constructor Summary
DriveData()
          ChartImage constructor comment.
DriveData(java.lang.String urlSuffix, java.net.URL currentPage)
          Insert the method's description here.
 
Method Summary
 TelescopeDataTransporter getTelescopeData()
          Insert the method's description here.
 void init(java.lang.String urlSuffix, java.net.URL currentPage)
          Insert the method's description here.
 boolean isDone()
          Insert the method's description here.
private  TelescopeDataTransporter retrieveTelescopeData()
          Insert the method's description here.
 void run()
          When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

telescopeData

private TelescopeDataTransporter telescopeData

isDone

private boolean isDone

dataURL

private java.net.URL dataURL
Constructor Detail

DriveData

public DriveData()
ChartImage constructor comment.


DriveData

public DriveData(java.lang.String urlSuffix,
                 java.net.URL currentPage)
Insert the method's description here. Creation date: (6/11/01 4:20:16 PM)

Parameters:
urlSuffix - java.lang.String
currentPage - java.net.URL
Method Detail

getTelescopeData

public TelescopeDataTransporter getTelescopeData()
Insert the method's description here. Creation date: (6/11/01 4:34:56 PM)

Returns:
java.awt.image.BufferedImage

init

public void init(java.lang.String urlSuffix,
                 java.net.URL currentPage)
Insert the method's description here. Creation date: (6/15/01 12:52:52 PM)

Parameters:
urlSuffix - java.lang.String
currentPage - java.net.URL

isDone

public boolean isDone()
Insert the method's description here. Creation date: (6/11/01 4:36:02 PM)

Returns:
boolean

retrieveTelescopeData

private TelescopeDataTransporter retrieveTelescopeData()
                                                throws java.io.IOException
Insert the method's description here. Creation date: (6/11/01 4:38:45 PM)

Returns:
java.awt.image.BufferedImage
Throws:
java.io.IOException - The exception description.

run

public void run()
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

The general contract of the method run is that it may take any action whatsoever.

Specified by:
run in interface java.lang.Runnable
See Also:
Thread.run()