Logo Search packages:      
Sourcecode: jenkins-trilead-ssh2 version File versions  Download package

synchronized void com::trilead::ssh2::Connection::setProxyData ( ProxyData  proxyData ) [inline]

Used to tell the library that the connection shall be established through a proxy server. It only makes sense to call this method before calling the connect() method.

At the moment, only HTTP proxies are supported.

Note: This method can be called any number of times. The connect() method will use the value set in the last preceding invocation of this method.

See also:
HTTPProxyData
Parameters:
proxyDataConnection information about the proxy. If null, then no proxy will be used (non surprisingly, this is also the default).

Definition at line 1265 of file Connection.java.

      {
            this.proxyData = proxyData;
      }

Generated by  Doxygen 1.6.0   Back to index