org.jboss.jmx.adaptor.control
Class AddressPort
java.lang.Object
org.jboss.jmx.adaptor.control.AddressPort
- public class AddressPort
- extends java.lang.Object
A utility class for parsing cluster member addresses
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getMemberAddress
public static AddressPort (src) getMemberAddress(java.lang.Object addr)
throws java.io.IOException
- Use reflection to access the address InetAddress and port if they exist
in the Address implementation
- Throws:
java.io.IOException
getPort
public java.lang.Integer getPort()
getInetAddress
public java.net.InetAddress getInetAddress()
getHostAddress
public java.lang.String getHostAddress()
getHostName
public java.lang.String getHostName()
toString
public java.lang.String toString()