public class HapiSocketTlsFactoryWrapper extends Object implements 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 SocketFactoryIOExceptionpublic Socket createTlsSocket() throws IOException
createTlsSocket in interface SocketFactoryIOExceptionpublic ServerSocket createServerSocket() throws IOException
createServerSocket in interface SocketFactoryIOExceptionpublic ServerSocket createTlsServerSocket() throws IOException
createTlsServerSocket in interface SocketFactoryIOExceptionpublic void configureNewAcceptedSocket(Socket theSocket) throws SocketException
configureNewAcceptedSocket in interface SocketFactorySocketExceptionCopyright © 2012–2017 University Health Network. All rights reserved.