Interface RemoteAddressBean
- All Known Implementing Classes:
ACARSError, ACARSLogEntry, AuditLog, BrowserReport, 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 TypeMethodDescriptiondefault booleanReturns if the host name has been resolved.Returns the remote IP address.Returns the remote host name.
-
Method Details
-
getRemoteAddr
-
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
-