Main Page | Compound List | File List | Compound Members

dndtester::DaqTests::ConnectingThread Class Reference

ConnectingThread extends Thread. More...

List of all members.

Public Member Functions

 ConnectingThread (Thread tokill)
 Constructor.

void destroy ()
 Method used to terminate the current thread.

void run ()
 Method that every thread must implement.


Package Attributes

boolean killed = false
 The testmodule::DaqTests::DialogThread will attempt to terminate this thread if the used decides to cancel the connection.

boolean failed = false
 Boolean set if the connection attempt failed.

Thread toKill
 This thread will try to terminate the testmodule::DaqTests::DialogThread when the connection is establish.


Detailed Description

ConnectingThread extends Thread.

This thread is used to attempt to connect to the DAQ.

Definition at line 104 of file DaqTests.java.


Constructor & Destructor Documentation

dndtester::DaqTests::ConnectingThread::ConnectingThread Thread  tokill  )  [inline]
 

Constructor.

Sets the thread to terminate.

Parameters:
tokill the thread to terminate.

Definition at line 120 of file DaqTests.java.

References toKill.


Member Function Documentation

void dndtester::DaqTests::ConnectingThread::destroy  )  [inline]
 

Method used to terminate the current thread.

It only sets a variable since the current JAVA platform does not implement this method.

Definition at line 128 of file DaqTests.java.

References killed.

void dndtester::DaqTests::ConnectingThread::run  )  [inline]
 

Method that every thread must implement.

This method is the one that attempts to open sockets for commands and data transfer. After the sockets have been created without any problem it attempts to create the buffers to be used to communicated with the DAQ.

Definition at line 138 of file DaqTests.java.

References failed, killed, and toKill.


The documentation for this class was generated from the following file:
Generated on Mon Jul 28 13:59:25 2003 by doxygen 1.3.2