Package alt.java.net

Class SocketFactoryImpl

    • Method Summary

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

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

      • SocketFactoryImpl

        public SocketFactoryImpl()
    • Method Detail

      • createSocket

        public Socket createSocket​(java.lang.String host,
                                   int port)
                            throws java.net.UnknownHostException,
                                   java.io.IOException
        Specified by:
        createSocket in interface SocketFactory
        Throws:
        java.net.UnknownHostException
        java.io.IOException