cameraDataTransporter
Class CameraImage

java.lang.Object
  |
  +--cameraDataTransporter.CameraImage
All Implemented Interfaces:
java.lang.Runnable

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

This class purpose is to retrieve a camera image from the server, for the client applet - Cameracontrol. Creation date: (6/11/01 3:05:58 PM)


Field Summary
private  CameraDataTransporter cameraImage
           
private  java.net.URL dataURL
           
private  boolean isDone
           
private  boolean ready
           
 
Constructor Summary
CameraImage(java.lang.String urlSuffix, java.net.URL currentPage)
          Insert the method's description here.
 
Method Summary
 CameraDataTransporter getCameraImage()
          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.
 boolean isReady()
          Returns the ready.
private  void retrieveImage()
          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.
 void setReady(boolean ready)
          Sets the ready.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cameraImage

private CameraDataTransporter cameraImage

isDone

private boolean isDone

ready

private boolean ready

dataURL

private java.net.URL dataURL
Constructor Detail

CameraImage

public CameraImage(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

getCameraImage

public CameraDataTransporter getCameraImage()
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

retrieveImage

private void retrieveImage()
                    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()

isReady

public boolean isReady()
Returns the ready.

Returns:
boolean

setReady

public void setReady(boolean ready)
Sets the ready.

Parameters:
ready - The ready to set