org.jboss.jmx.adaptor.control
Class AddressPort

java.lang.Object
  extended by org.jboss.jmx.adaptor.control.AddressPort

public class AddressPort
extends Object

A utility class for parsing cluster member addresses

Version:
$Revision: 57210 $
Author:
Scott.Stark@jboss.org

Method Summary
 String getHostAddress()
           
 String getHostName()
           
 InetAddress getInetAddress()
           
static AddressPort getMemberAddress(Object addr)
          Use reflection to access the address InetAddress and port if they exist in the Address implementation
 Integer getPort()
           
 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 getMemberAddress(Object addr)
                                    throws IOException
Use reflection to access the address InetAddress and port if they exist in the Address implementation

Throws:
IOException

getPort

public Integer getPort()

getInetAddress

public InetAddress getInetAddress()

getHostAddress

public String getHostAddress()

getHostName

public String getHostName()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.