gov.sns.ca
Class ConnectionChecker

java.lang.Object
  |
  +--gov.sns.ca.ConnectionChecker

public class ConnectionChecker
extends java.lang.Object


Field Summary
protected  java.util.ArrayList badPVs
          List of the PVs that had bad connections
protected  java.util.Hashtable checkTable
          HashMap to stash connection results in.
protected  java.util.ArrayList goodPVs
          List of the PVs that had good connections
 
Constructor Summary
ConnectionChecker(java.util.ArrayList pvs)
          Contructor
 
Method Summary
 void checkThem()
          do the connection checks
 java.util.ArrayList getBadPVs()
          return the list of PVs that had a connection
 java.util.Hashtable getCheckMap()
          get the HaspMap holding the results of the connection check
 java.util.ArrayList getGoodPVs()
          return the list of PVs that had a connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

goodPVs

protected java.util.ArrayList goodPVs
List of the PVs that had good connections


badPVs

protected java.util.ArrayList badPVs
List of the PVs that had bad connections


checkTable

protected java.util.Hashtable checkTable
HashMap to stash connection results in. Results are stored as Boolean.

Constructor Detail

ConnectionChecker

public ConnectionChecker(java.util.ArrayList pvs)
Contructor

Method Detail

getCheckMap

public java.util.Hashtable getCheckMap()
get the HaspMap holding the results of the connection check


getGoodPVs

public java.util.ArrayList getGoodPVs()
return the list of PVs that had a connection


getBadPVs

public java.util.ArrayList getBadPVs()
return the list of PVs that had a connection


checkThem

public void checkThem()
do the connection checks