Brooklyn

brooklyn.util
[Java] Class BrooklynNetworkUtils

java.lang.Object
  brooklyn.util.BrooklynNetworkUtils

public class BrooklynNetworkUtils

Method Summary
static java.lang.String getLocalhostExternalIp()

returns the externally-facing IP address from which this host comes

static java.net.InetAddress getLocalhostInetAddress()

returns a IP address for localhost paying attention to a system property to prevent lookup in some cases

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

getLocalhostExternalIp

public static java.lang.String getLocalhostExternalIp()
returns the externally-facing IP address from which this host comes


getLocalhostInetAddress

public static java.net.InetAddress getLocalhostInetAddress()
returns a IP address for localhost paying attention to a system property to prevent lookup in some cases


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.