Interface IpAddressable

All Known Implementing Classes:
TcpConnection, TcpStatusConnection, TlsConnection, TlsStatusConnection

public interface IpAddressable
An interface defining methods associated with a device that may be addressed via an IP connection.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the address which was passed into the constructor.
    Returns the port number which was passed into the constructor.
  • Method Details

    • getAddress

      String getAddress()
      Returns the address which was passed into the constructor.
      Returns:
      the address used to establish this connection. This can be either a DNS Hostname or an IP address.
    • getPortNumber

      String getPortNumber()
      Returns the port number which was passed into the constructor.
      Returns:
      the port number associated with the connection.