| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <T extends Closeable> T | connect(String
the hostname passed in the URL. It will be a single
hostname, as the driver parses multi-hosts (for failover) and
calls this method for each host connection attempt. hostname, int the port number to connect to (if required). portNumber, PropertySet properties passed to the driver via the URL and/or properties
instance. pset, int login timeout in milliseconds loginTimeout)Overrides com. Implements com. Creates a new socket or channel using the given properties. |
| protected Socket | createSocket(PropertySet
properties available to affect behaviour during socket creation. props)Overrides com. Create the raw socket. |
| SocksProxySocketFactory | back to summary |
|---|---|
| public SocksProxySocketFactory() | |
| connect | back to summary |
|---|---|
| public <T extends Closeable> T connect(String hostname, int portNumber, PropertySet pset, int loginTimeout) throws IOException Overrides com. Implements com. Doc from com. Creates a new socket or channel using the given properties. Properties are parsed by
the driver from the URL. All properties other than sensitive ones (user
and password) are passed to this method. The driver will instantiate the
socket factory with the class name given in the property
"socketFactory", where the standard is
| |
| createSocket | back to summary |
|---|---|
| protected Socket createSocket(PropertySet props) Overrides com. Doc from com. Create the raw socket.
| |