cgl.narada.util
Class PropertiesHelp

java.lang.Object
  extended by cgl.narada.util.PropertiesHelp

public class PropertiesHelp
extends Object

A help class to get properties needed to conduct transport test. Properties will be written in a properties file and this class can read them out. There are only two end nodes involved in transport test currently; but the idea is that all tests will take only one command line argument -- path to the properties file.

Version:
1.0

Field Summary
protected  Configuration config
           
 
Constructor Summary
PropertiesHelp(String fname, String transport)
           
 
Method Summary
 String acceptorHost()
           
 String acceptorHTTPPort()
           
 String acceptorSSLPort()
           
 Properties addProperties(Properties prop)
           
 long httpStatus()
           
 boolean isInitiator()
           
 String keyStore()
           
 String keyStorePass()
           
 String localHost()
           
 String proxyHost()
           
 String proxyPort()
           
 String trustStore()
           
 String trustStorePass()
           
 String userName()
           
 String userPass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

protected Configuration config
Constructor Detail

PropertiesHelp

public PropertiesHelp(String fname,
                      String transport)
Method Detail

localHost

public String localHost()

isInitiator

public boolean isInitiator()

acceptorHost

public String acceptorHost()

acceptorHTTPPort

public String acceptorHTTPPort()

acceptorSSLPort

public String acceptorSSLPort()

userName

public String userName()

userPass

public String userPass()

proxyHost

public String proxyHost()

proxyPort

public String proxyPort()

httpStatus

public long httpStatus()

keyStore

public String keyStore()

keyStorePass

public String keyStorePass()

trustStore

public String trustStore()

trustStorePass

public String trustStorePass()

addProperties

public Properties addProperties(Properties prop)


For comments and suggestions please send e-mail to The NaradaBrokering Project