Interface RemoteAddressBean

All Known Implementing Classes:
ACARSError, ACARSLogEntry, AuditLog, CommandLog, ConnectionEntry, DispatchConnectionEntry, EMailDelivery, FlightInfo, GetCoolerChannels.LastPostMessage, LoginAddress, Message

public interface RemoteAddressBean
An interface to mark beans with a remote IP address and host name.
Since:
10.2
Version:
10.2
Author:
Luke
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Returns if the host name has been resolved.
    Returns the remote IP address.
    Returns the remote host name.
  • Method Details

    • getRemoteAddr

      String getRemoteAddr()
      Returns the remote IP address.
      Returns:
      an IPv4 or IPv6 address
    • getRemoteHost

      String getRemoteHost()
      Returns the remote host name.
      Returns:
      the host name, or address if unresolved
    • getIsResolved

      default boolean getIsResolved()
      Returns if the host name has been resolved.
      Returns:
      TRUE if the host name is not null and does not equal the remote address, otherwise FALSE