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) |
createSocket
public Socket createSocket(String host, int port) throws IOException
SocketFactory
host
- the host nameport
- the port numberIOException
protected Socket doCreateSocket(String host, int port, int timeout) throws IOException
doCreateSocket
in class AbstractSocketFactory
IOException
public boolean isSSL(Socket socket)
public void configure(Configuration config) throws ConfigurationException
configure
in interface Configurable
configure
in class AbstractSocketFactory
ConfigurationException
Copyright © 2017 JacORB. All rights reserved.