All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fitnesse.socketservice.ServerSocketFactory Maven / Gradle / Ivy

The newest version!
package fitnesse.socketservice;

import java.io.IOException;
import java.net.ServerSocket;

public interface ServerSocketFactory {

  /**
   * Create a new socket on the provided port number
   *
   * @param port port
   * @return A fresh socket.
   * @throws IOException Thrown if socket can not be created.
     */
  ServerSocket createServerSocket(int port) throws IOException;
  ServerSocket createLocalOnlyServerSocket(int port) throws IOException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy