Package ca.uhn.hl7v2.util
Interface SocketFactory
- All Known Implementing Classes:
StandardSocketFactory
public interface SocketFactory
Pluggable socket factory interface
-
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureNewAcceptedSocket(Socket theSocket) Invoked by server processes each time a new server isacceptedin order to set configuration settings on the new socketCreate a standard server socketCreate a standard client socketCreate a TLS server socketCreate a TLS client socket
-
Method Details
-
createSocket
Create a standard client socket- Throws:
IOException
-
createTlsSocket
Create a TLS client socket- Throws:
IOException
-
createServerSocket
Create a standard server socket- Throws:
IOException
-
createTlsServerSocket
Create a TLS server socket- Throws:
IOException
-
configureNewAcceptedSocket
Invoked by server processes each time a new server isacceptedin order to set configuration settings on the new socket- Throws:
SocketException
-