osdep.proxy
Interface IProxySource

All Known Implementing Classes:
CacheProxySource, ConsoleProxySource

public interface IProxySource

An interface that gives the basic description of a proxy

Author:
SHZ Mar 6, 2008

Method Summary
 java.lang.String getProxyHost()
          The proxy host, expressed as a http link
 int getProxyPort()
          The proxy port (normally 8080 or 8000)
 boolean needsProxy()
          Do we need a proxy, or the connection is direct
 

Method Detail

needsProxy

boolean needsProxy()
Do we need a proxy, or the connection is direct

Returns:
true is a proxy is needed to connect to the internet, false otherwise

getProxyHost

java.lang.String getProxyHost()
The proxy host, expressed as a http link

Returns:
the proxy link

getProxyPort

int getProxyPort()
The proxy port (normally 8080 or 8000)

Returns:
the proxy port