Package net.shibboleth.shared.testing
Class InMemoryDirectory.CustomServerSocketFactory
java.lang.Object
javax.net.ServerSocketFactory
net.shibboleth.shared.testing.InMemoryDirectory.CustomServerSocketFactory
- Enclosing class:
- InMemoryDirectory
ServerSocketFactory wrapper class to track created sockets.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classServerSocket wrapper class to track created sockets. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateServerSocket(int port) createServerSocket(int port, int backlog) createServerSocket(int port, int backlog, InetAddress ifAddress) Methods inherited from class javax.net.ServerSocketFactory
createServerSocket, getDefault
-
Field Details
-
sockets
The socket list.
-
-
Constructor Details
-
CustomServerSocketFactory
private CustomServerSocketFactory()
-
-
Method Details
-
createServerSocket
- Specified by:
createServerSocketin classServerSocketFactory- Throws:
IOException
-
createServerSocket
- Specified by:
createServerSocketin classServerSocketFactory- Throws:
IOException
-
createServerSocket
public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException - Specified by:
createServerSocketin classServerSocketFactory- Throws:
IOException
-