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. |
This thread is used to attempt to connect to the DAQ.
Definition at line 104 of file DaqTests.java.
|
Constructor. Sets the thread to terminate.
Definition at line 120 of file DaqTests.java. References toKill. |
|
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. |
|
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. |