Project JXTA

net.jxta.ext.config
Class MulticastAddress

java.lang.Object
  extended bynet.jxta.ext.config.Address
      extended bynet.jxta.ext.config.MulticastAddress

public class MulticastAddress
extends Address

Multicast address container.

Version:
Author:
james todd [gonzo at jxta dot org]

Constructor Summary
MulticastAddress()
          Constructor for the MulticastAddress object
MulticastAddress(MulticastAddress ma)
          Constructor for the MulticastAddress object
 
Method Summary
 int getSize()
          Gets the size attribute of the MulticastAddress object
 boolean isMulticast()
          Gets the multicast attribute of the MulticastAddress object
 void setAddress(URI multicastAddress)
          Sets the multicastAddress attribute of the MulticastAddress object
 void setMulticast(boolean isMulticast)
          Sets the multicast attribute of the MulticastAddress object
 void setSize(int size)
          Sets the size attribute of the MulticastAddress object
 
Methods inherited from class net.jxta.ext.config.Address
equals, getAddress, getPortRange, hashCode, setPortRange
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MulticastAddress

public MulticastAddress()
Constructor for the MulticastAddress object


MulticastAddress

public MulticastAddress(MulticastAddress ma)
Constructor for the MulticastAddress object

Parameters:
ma - Description of the Parameter
Method Detail

isMulticast

public boolean isMulticast()
Gets the multicast attribute of the MulticastAddress object

Returns:
The multicast value

setMulticast

public void setMulticast(boolean isMulticast)
Sets the multicast attribute of the MulticastAddress object

Parameters:
isMulticast - The new multicast value

getSize

public int getSize()
Gets the size attribute of the MulticastAddress object

Returns:
The size value

setSize

public void setSize(int size)
Sets the size attribute of the MulticastAddress object

Parameters:
size - The new size value

setAddress

public void setAddress(URI multicastAddress)
Sets the multicastAddress attribute of the MulticastAddress object

Overrides:
setAddress in class Address
Parameters:
multicastAddress - The new multicastAddress value
Throws:
IllegalArgumentException - Description of the Exception

JXTA J2SE