de.smartics.ci.comm
Class ProxyInformation

Package class diagram package ProxyInformation
java.lang.Object
  extended by de.smartics.ci.comm.ProxyInformation

public class ProxyInformation
     
     
extends Object

The information needed to connect to a proxy.


Constructor Summary
ProxyInformation(String host, int port)
          Constructor.
 
Method Summary
 ProxyCredentials getCredentials()
          Returns the credentials to use to connect to the proxy.
 String getHost()
          Returns the host name of the proxy.
 int getPort()
          Returns the port the proxy is listening.
 void setCredentials(ProxyCredentials proxyCredentials)
          Sets the credentials to use to connect to the proxy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyInformation

public ProxyInformation(String host,
                        int port)
Constructor.

Parameters:
host - the host name of the proxy.
port - the port the proxy is listening.
Method Detail

setCredentials

public void setCredentials(ProxyCredentials proxyCredentials)
Sets the credentials to use to connect to the proxy.

Parameters:
proxyCredentials - the credentials to use to connect to the proxy.

getHost

public String getHost()
Returns the host name of the proxy.

Returns:
the host name of the proxy.

getPort

public int getPort()
Returns the port the proxy is listening.

Returns:
the port the proxy is listening.

getCredentials

public ProxyCredentials getCredentials()
Returns the credentials to use to connect to the proxy.

Returns:
the credentials to use to connect to the proxy.


Copyright © 2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.