org.apache.geronimo.messaging.cluster
Class ClusterInfo

java.lang.Object
  extended byorg.apache.geronimo.messaging.cluster.ClusterInfo
All Implemented Interfaces:
Externalizable, Serializable

public class ClusterInfo
extends Object
implements Externalizable

Cluster meta-data.

Version:
$Revision: 1.1 $ $Date: 2004/07/17 03:38:42 $
See Also:
Serialized Form

Constructor Summary
ClusterInfo()
          Required for externalization
ClusterInfo(InetAddress anAddress, int aPort)
           
 
Method Summary
 InetAddress getAddress()
           
 int getPort()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterInfo

public ClusterInfo()
Required for externalization


ClusterInfo

public ClusterInfo(InetAddress anAddress,
                   int aPort)
Method Detail

getAddress

public InetAddress getAddress()

getPort

public int getPort()

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

toString

public String toString()


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.