jondo
Class SimpleProxyInterface

java.lang.Object
  extended by jondo.SimpleProxyInterface

public class SimpleProxyInterface
extends java.lang.Object


Field Summary
static int PROTOCOL_TYPE_HTTP
           
static int PROTOCOL_TYPE_SOCKS
           
 
Constructor Summary
SimpleProxyInterface(java.lang.String a_strProxyHost, int a_proxyPort, int a_protocol, AbstractPasswordReader a_passwordReader)
           
SimpleProxyInterface(java.lang.String a_strProxyHost, int a_proxyPort, int a_protocol, java.lang.String a_proxyPassword)
           
 
Method Summary
 java.lang.String getAuthenticationUserID()
           
 java.lang.String getHost()
           
 int getPort()
           
 int getProtocol()
           
 java.lang.String getProtocolAsString()
           
 boolean isAuthenticationUsed()
           
 void setAuthenticationUserID(java.lang.String a_authenticationUserID)
           
 boolean setUseAuthentication(boolean a_bUseAuthentication)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROTOCOL_TYPE_HTTP

public static final int PROTOCOL_TYPE_HTTP
See Also:
Constant Field Values

PROTOCOL_TYPE_SOCKS

public static final int PROTOCOL_TYPE_SOCKS
See Also:
Constant Field Values
Constructor Detail

SimpleProxyInterface

public SimpleProxyInterface(java.lang.String a_strProxyHost,
                            int a_proxyPort,
                            int a_protocol,
                            AbstractPasswordReader a_passwordReader)

SimpleProxyInterface

public SimpleProxyInterface(java.lang.String a_strProxyHost,
                            int a_proxyPort,
                            int a_protocol,
                            java.lang.String a_proxyPassword)
Method Detail

getAuthenticationUserID

public java.lang.String getAuthenticationUserID()

isAuthenticationUsed

public boolean isAuthenticationUsed()

setUseAuthentication

public boolean setUseAuthentication(boolean a_bUseAuthentication)

setAuthenticationUserID

public void setAuthenticationUserID(java.lang.String a_authenticationUserID)

getPort

public final int getPort()

getProtocolAsString

public final java.lang.String getProtocolAsString()

getProtocol

public final int getProtocol()

getHost

public final java.lang.String getHost()

toString

public final java.lang.String toString()
Overrides:
toString in class java.lang.Object