org.infinispan.remoting.transport.jgroups
Class JGroupsAddress

java.lang.Object
  extended by org.infinispan.remoting.transport.jgroups.JGroupsAddress
All Implemented Interfaces:
Externalizable, Serializable, Address

public class JGroupsAddress
extends Object
implements Address, Externalizable

An encapsulation of a JGroups Address

Since:
4.0
Author:
Manik Surtani
See Also:
Serialized Form

Constructor Summary
JGroupsAddress()
           
JGroupsAddress(org.jgroups.Address address)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JGroupsAddress

public JGroupsAddress()

JGroupsAddress

public JGroupsAddress(org.jgroups.Address address)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

writeExternal

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

readExternal

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


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.