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 SocketFactory
IOException
public Socket createTlsSocket() throws IOException
createTlsSocket
in interface SocketFactory
IOException
public ServerSocket createServerSocket() throws IOException
createServerSocket
in interface SocketFactory
IOException
public ServerSocket createTlsServerSocket() throws IOException
createTlsServerSocket
in interface SocketFactory
IOException
public void configureNewAcceptedSocket(Socket theSocket) throws SocketException
configureNewAcceptedSocket
in interface SocketFactory
SocketException
Copyright © 2012–2017 University Health Network. All rights reserved.