gov.bnl.star.offline.scheduler.informationService
Class Proxy

java.lang.Object
  extended by gov.bnl.star.offline.scheduler.informationService.Proxy

public class Proxy
extends java.lang.Object

Used to set SUMS proxy configuration. It should be setup in the SUM config file for each each site. This setting is global to in running instance of SUMS. The last known working valuse here at bnl: proxyPort = "3128" proxyHost = "192.168.1.4" service = "http://osg-cat.grid.iu.edu/services.php" useProxy = true

Author:
Levente B. Hajdu

Constructor Summary
Proxy()
          Creates a new instance of Proxy
 
Method Summary
 java.lang.String getProxyHost()
           
 java.lang.String getProxyPort()
           
 boolean getUseProxy()
           
 void installProxy()
          After the seting have been initialized, this member will make the proxy setting global.
 void setProxyHost(java.lang.String proxyHost)
           
 void setProxyPort(java.lang.String proxyPort)
           
 void setUseProxy(boolean useProxy)
          This is the equivalent of a "use proxy" checkbox on a web browser or other web app.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Proxy

public Proxy()
Creates a new instance of Proxy

Method Detail

setUseProxy

public void setUseProxy(boolean useProxy)
This is the equivalent of a "use proxy" checkbox on a web browser or other web app.

Parameters:
useProxy - this should be set to true only if a proxy is need.

getUseProxy

public boolean getUseProxy()
Returns:
true if a proxy is needed at this site

setProxyHost

public void setProxyHost(java.lang.String proxyHost)

getProxyHost

public java.lang.String getProxyHost()

setProxyPort

public void setProxyPort(java.lang.String proxyPort)

getProxyPort

public java.lang.String getProxyPort()

installProxy

public void installProxy()
After the seting have been initialized, this member will make the proxy setting global. Ater the setting have beem install they can not be changed wqith this member.



Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.