public interface SocketFactory
| Modifier and Type | Method and Description |
|---|---|
void |
configureNewAcceptedSocket(Socket theSocket)
Invoked by server processes each time a new server is
accepted
in order to set configuration settings on the new socket |
ServerSocket |
createServerSocket()
Create a standard server socket
|
Socket |
createSocket()
Create a standard client socket
|
ServerSocket |
createTlsServerSocket()
Create a TLS server socket
|
Socket |
createTlsSocket()
Create a TLS client socket
|
Socket createSocket() throws IOException
IOExceptionSocket createTlsSocket() throws IOException
IOExceptionServerSocket createServerSocket() throws IOException
IOExceptionServerSocket createTlsServerSocket() throws IOException
IOExceptionvoid configureNewAcceptedSocket(Socket theSocket) throws SocketException
accepted
in order to set configuration settings on the new socketSocketExceptionCopyright © 2001–2017 University Health Network. All rights reserved.