// rmi.log.114=Creating socket to [{0}:{1}].
proxyTransportLog.log(RMILog.BRIEF,
Messages.getString("rmi.log.114", host, port)); //$NON-NLS-1$
}
Socket s = null;
Proxy proxy = new Proxy();
if (disableDirectSocket) {
// If direct connections are disabled, fallback to proxy connection.
if (proxyTransportLog.isLoggable(RMILog.VERBOSE)) {
// rmi.log.115=Direct socket connections disabled, trying proxy connection to [{0}:{1}].
proxyTransportLog.log(RMILog.VERBOSE,
Messages.getString("rmi.log.115", //$NON-NLS-1$
host, port));
}
} else {
if (disableHttp || !(proxy.isSet())) {
// If HTTP is not available, use simple direct connection.
s = directRsf.createSocket(host, port);
if (s == null) {
// rmi.log.116=Unable to connect to [