org.jboss.jmx.adaptor.control
Class AddressPort

java.lang.Object
  extended byorg.jboss.jmx.adaptor.control.AddressPort

public class AddressPort
extends java.lang.Object

A utility class for parsing cluster member addresses


Method Summary
 java.lang.String getHostAddress()
           
 java.lang.String getHostName()
           
 java.net.InetAddress getInetAddress()
           
static AddressPort (src) getMemberAddress(java.lang.Object addr)
          Use reflection to access the address InetAddress and port if they exist in the Address implementation
 java.lang.Integer getPort()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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()