Project JXTA

net.jxta.ext.config
Class PublicAddress

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

public class PublicAddress
extends Address

Public address container.

Author:
james todd [gonzo at jxta dot org]

Constructor Summary
PublicAddress()
          Constructor for the PublicAddress object
PublicAddress(PublicAddress pa)
           
 
Method Summary
 boolean equals(Object o)
          Description of the Method
 int hashCode()
           
 boolean isExclusive()
          Gets the exclusive attribute of the PublicAddress object
 void setExclusive(boolean isExclusive)
          Sets the exclusive attribute of the PublicAddress object
 
Methods inherited from class net.jxta.ext.config.Address
getAddress, getPortRange, setAddress, setPortRange
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicAddress

public PublicAddress()
Constructor for the PublicAddress object


PublicAddress

public PublicAddress(PublicAddress pa)
Method Detail

isExclusive

public boolean isExclusive()
Gets the exclusive attribute of the PublicAddress object

Returns:
The exclusive value

setExclusive

public void setExclusive(boolean isExclusive)
Sets the exclusive attribute of the PublicAddress object

Parameters:
isExclusive - The new exclusive value

equals

public boolean equals(Object o)
Description of the Method

Overrides:
equals in class Address
Parameters:
o - Description of the Parameter
Returns:
Description of the Return Value

hashCode

public int hashCode()
Overrides:
hashCode in class Address

JXTA J2SE