public interface ServerSocketFactory
ServerSocket instances.
Using this abstraction enables unit testing.| Modifier and Type | Method and Description |
|---|---|
java.net.ServerSocket |
createServerSocket(int port)
Create a new ServerSocket for the specified port
|