urv.olsr.mcast
Class MulticastAddress
java.lang.Object
urv.olsr.mcast.MulticastAddress
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, org.jgroups.util.Streamable
public class MulticastAddress
- extends java.lang.Object
- implements java.io.Serializable, org.jgroups.util.Streamable, java.io.Externalizable
Class that represents a multicast address of a group
- Author:
- Gerard Paris Aixala
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
MulticastAddress
public MulticastAddress()
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
readFrom
public void readFrom(java.io.DataInputStream in)
throws java.io.IOException,
java.lang.IllegalAccessException,
java.lang.InstantiationException
- Specified by:
readFrom
in interface org.jgroups.util.Streamable
- Throws:
java.io.IOException
java.lang.IllegalAccessException
java.lang.InstantiationException
toInetAddress
public java.net.InetAddress toInetAddress()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
writeTo
public void writeTo(java.io.DataOutputStream out)
throws java.io.IOException
- Specified by:
writeTo
in interface org.jgroups.util.Streamable
- Throws:
java.io.IOException
setValue
public void setValue(org.jgroups.Address multicastAddress)
getMcastAddress
public java.net.InetAddress getMcastAddress()
setValue
public void setValue(java.net.InetAddress multicastAddress)
setValue
public void setValue(java.lang.String multicastAddress)