Package com.ibm.di.api.remote.impl
Class BindAddressPolicyImpl
- java.lang.Object
-
- com.ibm.di.server.BindAddressPolicyImpl
-
- com.ibm.di.api.remote.impl.BindAddressPolicyImpl
-
- All Implemented Interfaces:
BindAddressPolicy
public class BindAddressPolicyImpl extends BindAddressPolicyImpl
This class take responsibility for providing information about remote bind addresses. This class is developed only for internal use and should not be used for other purpose.- Since:
- 7.1
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROP_API_REMOTE_BIND_ADDRESSProperty name used to specify the remote bind address.protected java.net.InetAddressremoteBindINetAddrjava.net.InetAddressobject representing the remote bind address.-
Fields inherited from class com.ibm.di.server.BindAddressPolicyImpl
PROP_COM_IBM_DI_DEFAULT_BIND_ADDRESS
-
-
Constructor Summary
Constructors Constructor Description BindAddressPolicyImpl(java.util.Properties propFile)Constructor.BindAddressPolicyImpl(java.util.Properties propFile, boolean tdiServerSide)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.InetAddressgetBindAddress()Provides the bind address to connect to.
-
-
-
Field Detail
-
PROP_API_REMOTE_BIND_ADDRESS
public static final java.lang.String PROP_API_REMOTE_BIND_ADDRESS
Property name used to specify the remote bind address.- See Also:
- Constant Field Values
-
remoteBindINetAddr
protected java.net.InetAddress remoteBindINetAddr
java.net.InetAddressobject representing the remote bind address.Note that
nullvalue means binding to all available network interfaces. If no value is specified in the property then the default bind address it taken.
-
-
Constructor Detail
-
BindAddressPolicyImpl
public BindAddressPolicyImpl(java.util.Properties propFile)
Constructor. Accepts the Properties file that bind addresses will be retrieved from. Implicitly defines that the caller is running on TDI Server Client side.- Parameters:
propFile- Properties file that bind addresses will be obtained from.
-
BindAddressPolicyImpl
public BindAddressPolicyImpl(java.util.Properties propFile, boolean tdiServerSide)Constructor. Accepts the Properties file that bind addresses will be retrieved from. ThetdiServerSideparameter determines whether the caller is running on TDI Server side or not.- Parameters:
propFile- Properties file that bind addresses will be obtained from.tdiServerSide- Determines on which side the caller is running.
Trueif caller is running on TDI Server API side
Falseif caller is running on TDI Server Client side.
-
-
Method Detail
-
getBindAddress
public java.net.InetAddress getBindAddress()
Provides the bind address to connect to. * means bind to all available network interfaces. Mind that only one IP address value should be provided for the related property. No host names are accepted - only IP addresses.- Specified by:
getBindAddressin interfaceBindAddressPolicy- Overrides:
getBindAddressin classBindAddressPolicyImpl
-
-