Uses of Class
net.i2p.util.SocketTimeout

Packages that use SocketTimeout
net.i2p.client.streaming Implements a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages. 
net.i2p.util These classes define the several useful utilities used throughout the router and applications. 
 

Uses of SocketTimeout in net.i2p.client.streaming
 

Methods in net.i2p.client.streaming with parameters of type SocketTimeout
protected  void I2PSocketEepGet.sendRequest(SocketTimeout timeout)
          Look up the address, get a socket from the I2PSocketManager supplied in the constructor, and send the request.
 

Uses of SocketTimeout in net.i2p.util
 

Methods in net.i2p.util with parameters of type SocketTimeout
protected  void EepGet.doFetch(SocketTimeout timeout)
          single fetch
protected  void SSLEepGet.doFetch(SocketTimeout timeout)
          private static boolean addCert(KeyStore ks, String file) { try { InputStream fis = new FileInputStream(file); CertificateFactory cf = CertificateFactory.getInstance("X.509"); X509Certificate cert = (X509Certificate)cf.generateCertificate(fis); fis.close(); System.err.println("Adding cert, Issuer: " + cert.getIssuerX500Principal()); try { cert.checkValidity(); } catch (CertificateExpiredException cee) { System.err.println("Warning - expired cert: " + cee); } catch (CertificateNotYetValidException cnyve) { System.err.println("Warning - not yet valid cert: " + cnyve); } // use file name as alias ks.setCertificateEntry(file, cert); } catch (GeneralSecurityException gse) { System.err.println("Read cert error: " + gse); return false; } catch (IOException ioe) { System.err.println("Read cert error: " + ioe); return false; } return true; }
protected  void EepHead.doFetch(SocketTimeout timeout)
          return true if the URL was completely retrieved
protected  void EepGet.sendRequest(SocketTimeout timeout)
           
protected  void SSLEepGet.sendRequest(SocketTimeout timeout)