Class 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 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.InetAddress object representing the remote bind address.

        Note that null value 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. The tdiServerSide parameter 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.
        True if caller is running on TDI Server API side
        False if 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:
        getBindAddress in interface BindAddressPolicy
        Overrides:
        getBindAddress in class BindAddressPolicyImpl