infoservice.japforwarding
Class VerificationLock

java.lang.Object
  extended by infoservice.japforwarding.VerificationLock

public class VerificationLock
extends java.lang.Object

This class is used for synchronization between the threads while verifying the connection to a JAP forwarding server.


Field Summary
private  boolean m_success
          Stores the success of the verification process.
 
Constructor Summary
VerificationLock()
          Creates a new instance of VerificationLock.
 
Method Summary
 boolean getSuccess()
          Returns the success value of this verification lock.
 void setSuccess(boolean a_success)
          Changes the success value of this verification lock.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_success

private boolean m_success
Stores the success of the verification process.

Constructor Detail

VerificationLock

public VerificationLock()
Creates a new instance of VerificationLock. The success value is set to false.

Method Detail

getSuccess

public boolean getSuccess()
Returns the success value of this verification lock.

Returns:
Whether the verification process this lock belongs to was successful (true) or not (false).

setSuccess

public void setSuccess(boolean a_success)
Changes the success value of this verification lock.

Parameters:
a_success - The new success value for the verification process this lock belongs to.