public class HapiSocketTlsFactoryWrapper extends Object implements ca.uhn.hl7v2.util.SocketFactory
ISocketFactory instance for use in HAPI. Note that the
wrapped methods will only be used to create TLS socket instances.| Constructor and Description |
|---|
HapiSocketTlsFactoryWrapper(ISocketFactory theSocketFactoryToWrap)
Constuctor
|
| Modifier and Type | Method and Description |
|---|---|
void |
configureNewAcceptedSocket(Socket theSocket) |
ServerSocket |
createServerSocket() |
Socket |
createSocket() |
ServerSocket |
createTlsServerSocket() |
Socket |
createTlsSocket() |
public HapiSocketTlsFactoryWrapper(ISocketFactory theSocketFactoryToWrap)
theSocketFactoryToWrap - The socket factory to wrap. This instance will only be used
for createTlsSocket() and
createTlsServerSocket()public Socket createSocket() throws IOException
createSocket in interface ca.uhn.hl7v2.util.SocketFactoryIOExceptionpublic Socket createTlsSocket() throws IOException
createTlsSocket in interface ca.uhn.hl7v2.util.SocketFactoryIOExceptionpublic ServerSocket createServerSocket() throws IOException
createServerSocket in interface ca.uhn.hl7v2.util.SocketFactoryIOExceptionpublic ServerSocket createTlsServerSocket() throws IOException
createTlsServerSocket in interface ca.uhn.hl7v2.util.SocketFactoryIOExceptionpublic void configureNewAcceptedSocket(Socket theSocket) throws SocketException
configureNewAcceptedSocket in interface ca.uhn.hl7v2.util.SocketFactorySocketExceptionCopyright © 2012-2014 University Health Network. All Rights Reserved.