public class SSLSocketFactory extends AbstractSocketFactory
logger| Constructor and Description |
|---|
SSLSocketFactory(ORB orb) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Configuration configuration) |
Socket |
createSocket(String host,
int port)
create a connected stream Socket.
|
protected Socket |
doCreateSocket(String host,
int port,
int timeout) |
boolean |
isSSL(Socket socket) |
createSocketpublic SSLSocketFactory(ORB orb)
public void configure(Configuration configuration) throws ConfigurationException
configure in interface Configurableconfigure in class AbstractSocketFactoryConfigurationExceptionpublic Socket createSocket(String host, int port) throws IOException, UnknownHostException
SocketFactoryhost - the host nameport - the port numberIOExceptionUnknownHostExceptionprotected Socket doCreateSocket(String host, int port, int timeout) throws IOException
doCreateSocket in class AbstractSocketFactoryIOExceptionpublic boolean isSSL(Socket socket)
Copyright © 2017 JacORB. All rights reserved.