public class FixedAddressSocketFactory extends AbstractSocketFactory
logger| Constructor and Description |
|---|
FixedAddressSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Configuration config) |
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 Socket createSocket(String host, int port) throws IOException
SocketFactoryhost - the host nameport - the port numberIOExceptionprotected Socket doCreateSocket(String host, int port, int timeout) throws IOException
doCreateSocket in class AbstractSocketFactoryIOExceptionpublic boolean isSSL(Socket socket)
public void configure(Configuration config) throws ConfigurationException
configure in interface Configurableconfigure in class AbstractSocketFactoryConfigurationExceptionCopyright © 2017 JacORB. All rights reserved.