@ThreadSafe public class SecureClientSocketFactory extends ClientSocketFactory
Constructor and Description |
---|
SecureClientSocketFactory(UUID uuid)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
protected Socket |
newSocket(String host,
int port)
Create a client socket connected to the specified host and port.
|
createSocket, equals, getContext, hashCode
public SecureClientSocketFactory(@Nonnull UUID uuid)
uuid
- The UUID identifying the context.protected Socket newSocket(String host, int port) throws IOException
newSocket
in class ClientSocketFactory
host
- The host name.port
- The port number.IOException
- When an I/O error occurs during socket creation.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.