@Deprecated public class FixedHostRmiClientSocketFactory extends Object implements RMIClientSocketFactory, Serializable
Constructor and Description |
---|
FixedHostRmiClientSocketFactory()
Deprecated.
Default constructor.
|
FixedHostRmiClientSocketFactory(String overrideHost)
Deprecated.
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket(String host,
int port)
Deprecated.
Create a client socket connected to the specified overrideHost and port.
|
String |
getOverrideHost()
Deprecated.
Getter for property 'overrideHost'.
|
void |
setOverrideHost(String overrideHost)
Deprecated.
Setter for property 'overrideHost'.
|
public FixedHostRmiClientSocketFactory()
public FixedHostRmiClientSocketFactory(String overrideHost)
overrideHost
- host/ip to enforcepublic Socket createSocket(String host, int port) throws IOException
createSocket
in interface RMIClientSocketFactory
host
- the host name IGNORED if an override configuredport
- the port numberIOException
- if an I/O error occurs during socket creationpublic String getOverrideHost()
public void setOverrideHost(String overrideHost)
overrideHost
- Value to set for property 'overrideHost'.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.