Class TimeoutSocketFactory


  • public class TimeoutSocketFactory
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.Socket createSocket​(java.lang.String host, int port)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TimeoutSocketFactory

        public TimeoutSocketFactory​(int timeout)
      • TimeoutSocketFactory

        public TimeoutSocketFactory​(int timeout,
                                    SocketWrapper wocketSrapper)
        Oh noes, dyslexia!!!
    • Method Detail

      • createSocket

        public java.net.Socket createSocket​(java.lang.String host,
                                            int port)
                                     throws java.io.IOException
        Throws:
        java.io.IOException